strToNum
The strToNum submodule converts a string into a number.
Example
// Import util
const { util } = require("easyscriptjs");
// Convert "10" string to a number
const result = util.strToNum("10");
// Log result to console
console.log(result);
// 10