JavaScript tips — Convert a Set to an Array

preview_player
Показать описание

For most purposes, these two approaches are the same, so pick whichever one feels best to you

#javascript
Рекомендации по теме
Комментарии
Автор

jsbench say [...o] is faster than Array.from(o)

Learnbynet