This website works better with JavaScript
Home
Explore
Help
Sign In
CocoRoboLabs
/
CocoRoboDesktop
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
dd6dff3837
Branches
Tags
English
HK
alpha
beta
master
master_en
sz
CocoRoboDesk...
/
pdf1.js
/
node_modules
/
systemjs-plugin-babel
/
babel-helpers
/
toArray.js
toArray.js
89 B
History
Raw
1
2
3
export default (function (arr) {
return Array.isArray(arr) ? arr : Array.from(arr);
});