Ronen Elster
Ronen Elster
**Where** Chapter 6 - Symbols, under **Creating Symbols** **Problem** > Because symbols are primitive values, calling `new Symbol()` throws an error when called. **Reason** The cause of the error is...
**Where** Chapter 11 - Promises, under **Node.js Rejection Handling** ```js let rejected; process.on("unhandledRejection", function(reason, promise) { console.log(reason.message); // "Explosion!" console.log(rejected === promise); // true }); rejected = Promise.reject(new Error("Explosion!")); ```...
**Where**: Line 91 in Appendix A - Other changes ```js // Valid in ECMAScript 5 and 6 var \u{61} = "abc"; console.log(\u{61}); // "abc" // equivalent to: console.log(a); // "abc"...
**Where** Under the section "_Non-Promise Thenables_" **Problem** > Both Promise.resolve() and Promise.reject() also accept non-promise thenables as arguments. When passed a non-promise thenable, these methods **create a new promise that...
ישנם מספר מושגים שלא ברור כיצד לתרגם - closure - IIFEs - clamped conversion - unsigned integer - signed integer - view - DataView - buffer - array buffer -...
The example for Symbol.split here manuscript/06-Symbols.md does not mention the optional `limit` argument: ```js split(separator) split(separator, limit) ``` The current example could perhaps change to ```js [Symbol.split]: function(value, limit) {...
### Problem The plugin injects `gptAds` to the application and the `GptAd` component adds to the `$gptAds.slots` array inside the `mounted` hook: ```js this.$gptAds.slots.push(adSlot); ``` The `beforeDestroy()` hook uses `googletag.destroySlots`...