|
You are here |
bitsofco.de | ||
| | | | |
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. | |
| | | | |
gent.ilcore.com
|
|
| | | | | The major web browsers load web pages in basically the same way. This process is known as parsing and is described by the HTML5 specificatio... | |
| | | | |
www.igvita.com
|
|
| | | | | Script-injected scripts block on CSS and delay script execution. Their era has passed, and we now have a much better, cleaner, and faster solution: add an async attribute to your script tags. | |
| | | | |
sospedra.me
|
|
| | | This story begins in 1984. Involves the major R&D companies in Silicon Valley. Machinery. Tech revolutions. And finally, the web. It's the story of the web fonts. Why are so many? And why it's so difficult to get a standard? | ||