|
You are here |
bitsofco.de | ||
| | | | |
goongoguma.github.io
|
|
| | | | | . ?, ?. ? ? ? ? ? ?. Strict ? ? ? ? ? ? ?. | |
| | | | |
www.davidbcalhoun.com
|
|
| | | | | Personal blog of photographer and web developer David Calhoun. | |
| | | | |
hamatti.org
|
|
| | | | | One abstract concept Javascript developers need to learn quite early on is the concept of scope. In this blog post, I'll walk you through what scope is and how it works in Javascript. | |
| | | | |
www.hillelwayne.com
|
|
| | | What does this print? x = 1 x -> 0 Think it through, then try it in a browser console! Answer and explanation in the dropdown. Show answer It prints 1. wait wtf At the beginning of a line (and only at the beginning of a line), -> starts a comment. The JavaScript is parsed as x=1; x; // 0 The browser then displays the value of the last expression, which of course is 1. | ||