/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

madole.xyz
| | 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.
4.0 parsecs

Travel
| |
| | syntackle.com

You might be familiar with functions in JavaScript. An IIFE is a special type of function which is invoked implicitly.
3.0 parsecs

Travel
| |
| | www.usebox.net

I'm catching up with some interesting changes in Javascript since the last time I used it.
3.3 parsecs

Travel
| |
| | ijsjes.dev

JavaScript is one of the most popular languages today. But... why?
18.5 parsecs

Travel
|