/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

peterbraden.co.uk
| | 0x7f.dev
2.0 parsecs away

Travel
| | [AI summary] A developer explains a JavaScript 'this' binding issue in a class method and provides solutions using bind or arrow functions.
| | lea.verou.me
1.9 parsecs away

Travel
| | [AI summary] The author defends JavaScript against snobbish developers who dismiss it as a toy, arguing that challenges like cross-browser compatibility make it a powerful and sophisticated language.
| | seanmcp.com
1.8 parsecs away

Travel
| | A brief journey into the dangerous world of user agent sniffing
| | www.hillelwayne.com
16.6 parsecs away

Travel
| 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.