Created
September 12, 2021 12:37
-
-
Save redradist/d002c283911c8689123f25116e752011 to your computer and use it in GitHub Desktop.
TypeScript 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 = 55 + num1; | |
const num3 = 5 + num0; | |
const num4 = (num3 + 1) + 8; | |
let num5 = 3; | |
num5 = SafeScript.add(num5, "3"); | |
let str2 = "24256"; | |
let numstr2 = SafeScript.plus(str2); | |
++numstr2; | |
function something(num) { | |
if (typeof num === "number") { | |
return 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