5 lines
95 B
JavaScript

module.exports = (typeof Array.from === 'function' ?
Array.from :
require('./polyfill')
);