Created
September 12, 2021 12:31
-
-
Save redradist/1f568e864cea0b44585707ad0db49bdf to your computer and use it in GitHub Desktop.
Babel SafeScript Transformer generated test script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const str0 = "3124122"; | |
const num0 = 9; | |
const str1 = "3124122"; | |
const num1 = SafeScript.sub(str1, num0); | |
const num2 = SafeScript.add(55, num1); | |
const num3 = SafeScript.add(5, num0); | |
const num4 = SafeScript.add(SafeScript.add(num3, 1), 8); | |
let num5 = 3; | |
num5 = SafeScript.add(num5, "3"); | |
let str2 = "24256"; | |
let numstr2 = SafeScript.plus(str2); | |
(numstr2 = SafeScript.inc(numstr2)); | |
function something(num) { | |
if (typeof num === "number") { | |
return SafeScript.add(num, 88); | |
} | |
return SafeScript.add(num, 88); | |
} | |
something(2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment