|
You are here |
iter.ca | ||
| | | | |
ponyfoo.com
|
|
| | | | | [AI summary] The article explains that ES6 classes are syntactic sugar built on top of JavaScript's prototype-based inheritance system, demonstrating construction, static methods, and inheritance with a tutorial on creating a Tesla class. | |
| | | | |
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. | |
| | | | |
blog.alexanderkaran.com
|
|
| | | | | How do you reverse an array in JavaScript? Array.prototype.reverse() and Array.prototype.toReversed() make reversing arrays easy | |
| | | | |
bitsofco.de
|
|
| | | Articles on frontend development and more. | ||