(1) 创建 n3-1.js, 并输入代码
(2) 创建 User.js , 并输入代码
(3) 运行 cmd
(4) 在浏览器上查看
(5) 再次查看 cmd
来源: http://www.bubuko.com/infodetail-2497082.html