Explore >> Select a destination


You are here

www.aymericlamboley.fr
| | michaelchadwick.info
18.8 parsecs away

Travel
| | Client-Side Ruby with Web Assembly
| | www.hillelwayne.com
19.4 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.
| | abdulapopoola.com
14.8 parsecs away

Travel
| | We all have to track variables;while debugging; generally the easier it is to monitor changes, the faster bugs can be detected and fixed. Web developer tools expose various methods for tracking changes in variable values. There are a couple of drawbacks e.g. non-uniform support across platforms) but again, half-bread is better than none :).
| | golangbot.com
40.8 parsecs away

Travel
| Arrays are collection of elements of the same type. A slice in Go is a convenient wrapper on top of array.