// 引用类型: 数组 对象 函数(都是可以添加属性、都是用指针指向存储位置)
// JS中 typeof能得到的类型:值类型(undefined string boolean number)
// typeof null 引用类型(object)
var a = { age: 20 };
var b = a;
a = 200;
console.log(b); // {age: 20}
var t = 100;
console.log("t " + !!t); // t true
console.log(!window.abc) // true
// JS内置函数 ---数据封装对象
// 包括Object Array Boolean Number String Function Date RegExp Error
// 问题: 如何理解JSON
// JSON 只是一个JS 对象、 数据格式
console.log(JSON.stringify({ a: 10, b: 20 })) // {"a":10,"b":20}
console.log(JSON.parse('{"a": 10, "b": 20}')) // {a: 10, b: 20}