0
What does * right after a var or object mean?
I keep seeing the * used right up against a bar or obj and it's not clearly multiplication of two values. How else can the * be used other than X * Y = ?
1 Respuesta
+ 6
Keep going with JavaScript Tutorial! ;) 👍
You will learn Iterators & Generators! 😉
function* () {...}
* with function keyword, it's called a generator function (or gen function).
https://www.sololearn.com/learn/JavaScript/2981/