We use [...someArray] or array.values() to get multiple values out of a array. And we kind of know how it works - it just returns all the values from the array. Now internally, both of them uses the iterator protocol - which is already defined on ar...
Typescripting
I like to build developer tools in my spare time. I have tried dabbling with ASTs, TypeScript compiler api, webpack plugins, react custom re
Markdown supported · ⌘↵ to post
Bolaji Ayodeji
Well explained, thanks for sharing this.