全篇答案密码为pwd
1. 对象的赋值与拷贝 输出是?const members = [ person ];person = null
let person = { name: 'Lydia' }
const members = [ person ]
person = null
console.log(members)
基础语法 输出是?!typeof ‘aaa’ === ‘string’
const name = 'Lydia Hallie'
console.log(!typeof name === 'object')
console.log(!typeof name === 'string')
作用域 代码输出是什么
var a = 10;
(function() {
console.log(a);
a = 5;
console.log(window.a);
var a = 20;
console.log(a);
})()