摘要:
Object 是javascript 父对象 function F(){ //自定义函数 } alert(F.prototype); //函数原型是object对象 alert(F.prototype instanceof Object); //true 闭包 全局变量在函数内部可以访问 funct 阅读全文
摘要:
先晒图 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Index</title> <link rel="stylesheet" href="css/style.css"> </head 阅读全文