Posts by bfavaretto • 64,705 points
902 posts
-
5
votes1
answer253
viewsA: Difference between Yield and Yield* operators in Ecmascript 6.0 "Harmony"?
I’m still crawling on ES6, but from what I understand yield* is necessary when you want to delegate the yield to another Gen. I found a simple example: let delegatedIterator = (function* () { yield…
-
28
votes10
answers34548
viewsA: What is the difference between the == and === Javascript operators?
Javascript has automatic conversion of types, second some rules not very intuitive. The operator == uses this conversion at both ends of the comparison. Already === requires the two terms of the…