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
| var foo = function (person) { | |
| // stuff happens | |
| // perhaps a breakpoint is added here | |
| // or they attempt to log the object | |
| console.log(person); | |
| } | |
| var person = {}; | |
| person[‘\t’] = ‘Nicholas’; |
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
| if (!val) { … } |
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
| Math.floor(.5 + ((Math.cos(val)*.5))) |
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
| function foo (x) { | |
| if (x=true) { | |
| // no matter what value is | |
| // passed in for x, this | |
| // will always execute | |
| } | |
| } | |
| foo(false); |
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
| var i = 27 // 27 | |
| var j = 027 // 23 |
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
| (function () { | |
| var a=1, | |
| b=2, | |
| c=3 | |
| d=4, | |
| e=5, | |
| f=6; | |
| }()); | |
| console.log(d,e,f); // 4,5,6 |
OlderNewer