LanX!: generatoren mit yield

Beitrag lesen

Hi

„In order to use some of the new features of JavaScript 1.7, you need to specify that you wish to use JavaScript 1.7.“

„The features that require the use of the new keywords "yield" and "let" require you to specify version 1.7 because existing code might use those keywords as variable or function names.“

Ich hab so was geahnt und wieder verworfen weil die List- respektive "Array Comprehensions" trotzdem funktionieren.

Aber klar die brauchen keine neuen Keywords, for und if waren schon immer geschützt.

Danke vielmals :)

Rolf