by malft · 11y ago · 0 comments
const toArray = (() => Array.from ? Array.from : obj => [].slice.call(obj) )();