SOURCE

let array = Array.of(1,2,3,4);
array = array.map(ele => ele+1);
console.log(array);
console 命令行工具 X clear

                    
>
console