SOURCE
JavaScript
Result
let a = [1,2,3] console.log(a) a.length = 0; console.log(a)
console 命令行工具
X
clear
>
console