SOURCE

{
let str ='abc';
// console.log(str.repeat(1));
}
{
let name = 'list';
let info = 'hello word';
let m = `I am ${name},${info}`;
// console.log(m);
} 
{
	// console.log('1'.padStart(2,'0'));	//abcabc
	// console.log('1'.padEnd(2,'0'));	//abcabc
	// console.log('-12'.padStart(10, 'YYYY-MM-DD')) // "YYYY-09-12"
}
{
  let user = {
    name:'list',
    info:'hello world'
  };
  function abc(s,v1,v2){
    console.log(s);
    console.log(v1);
    console.log(v2);
    return s+v1+v2;
  }
   console.log( abc`i am ${user.name},${user.info}`)
}
console.log(String.raw`Hi\n${1+2}`);
console.log(`Hi\n${1+2}`);



console 命令行工具 X clear

                    
>
console