40

javascript基础修炼——一道十面埋伏的原型链面试题-大史住在大前端

 5 years ago
source link: http://blog.51cto.com/13869008/2152240
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
###javascript基础修炼——一道十面埋伏的原型链面试题在基础面前,一切技巧都是浮云。####题目是这样的要求写出控制台的输出.functionParent(){this.a=1;this.b=[1,2,this.a];this.c={demo:5};this.show=function(){console.log(this.a,this.b,this.c.demo);}}function

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK