Js Quiz
来源:互联网 发布:mac火鹤色口红图片 编辑:程序博客网 时间:2024/05/22 03:27
Please first execute the two parts codes in one group then think about why ?
1.
function g(){ return 23; }; var f = g; typeof g();
VS
var f = function g(){ return 23; }; typeof g();
2.
function fun1(para){ this.testNumber = para;}function fun2(para){ this.testString = para;}fun1.prototype = new fun2("stringvalue");var myf1 = new fun1(3);var v = myf1.testNumber;var s = myf1.testString;console.log(v+"~"+s+"~"+typeof fun1.prototype);
VS
function fun1(para){ this.testNumber = para;}function fun2(para){ this.testString = para;}//fun1.prototype = new fun2("stringvalue");var myf1 = new fun1(3);var v = myf1.testNumber;var s = myf1.testString;console.log(v+"~"+s+"~"+typeof fun1.prototype);
- Js Quiz
- W3School JS Quiz
- 多态小quiz
- tractor quiz
- link quiz
- Ado.NET 系列quiz
- Best of Ruby Quiz
- Some English Quiz
- 10911 - Forming Quiz Teams
- The Linux Pub Quiz
- 10911 - Forming Quiz Teams
- NSHipster Quiz #2
- codeforces 337C Quiz
- 337C - Quiz
- cf-337C Quiz
- NSHipster Quiz #3
- NSHipster Quiz #4
- UVA10911- Forming Quiz Teams
- 生活
- EXT JS 表单
- iOS开发那些事--编写OCUnit测试方法-逻辑测试方法
- JDBC连接各种数据库方法
- oracle rowid
- Js Quiz
- 易语言中的数据类型
- java4android 操作字符串
- 学习Struts2 jQuery Plugin 3.0
- Linux查看文件夹大小的命令
- 内存管理相关知识
- weblogic 链接sqlserver2005找不到驱动的解决办法
- 区间覆盖问题
- 第二周 入驻实验室