SOURCE

let [a, b, c] = [1, 2, 3];
console.log('abc'.charAt(0))
var s = 'Hello world!';
console.log(s.includes('o'))
console.log(s.startsWith('Hello'))
console.log(s.endsWith('d'))
console.log('hello'.repeat(5))
let arrayLike = {
    '0': 'a',
    '1': 'b',
    '2': 'c',
    length:3
};
console.log(Array.from(arrayLike))
console.log(Array.of(3,9,6))
function add(pp, ...values) {
    console.log(values)
  for (var val of values) {
    console.log(val)
  }
}
add(6,8,9)
console 命令行工具 X clear

                    
>
console