javascript
console.log(typeof 'abc') // string
let obj = {a: 123}; console.log('a' in obj) // true
string => 正規表現
new RegExp('ab+c');
code:a.js
let {b} = { a: 123, b: 234}
console.log(b); // 234
code:b.js
let b = 3;
let obj = {a:5, b}
console.log(obj) // { a: 5, b: 3 }
code:c.js
console.log(a) // 1
console.log(b) // 2