Created
September 12, 2021 12:28
-
-
Save redradist/15f03dfb1d17ae974b7123fe3950bed2 to your computer and use it in GitHub Desktop.
Revisions
-
redradist created this gist
Sep 12, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ const str0 = "3124122"; const num0 = 9; const str1 = "3124122"; const num1 = str1 - num0; const num2 = 55 + num1; const num3 = 5 + num0; const num4 = (num3 + 1) + 8; let num5 = 3; num5 += "3"; let str2 = "24256"; let numstr2 = +str2; ++numstr2; function something(num) { if (typeof num === "number") { return num + 88; } return num + 88; } something(2);