//JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。
console.log("Hello JSRUN! \n\n - from NodeJS .");
// 类数组转数组
// 类数组是具有length属性,但不具有数组原型上的方法。
// 常见的类数组有arguments、DOM操作方法返回的结果。
Array.from(document.querySelectorAll('div'))
Array.prototype.slice.call(document.querySelectorAll('div'))
// 扩展符
// [ ...document.querySelectorAll('dv') ]
Array.prototype.concat.apply([],document.querySelectorAll('div'))