面试题之纯css实现红绿灯效果(ps:真的很纯)

先看题,别看答案试下吧 ~_~javascript 一、下面的代码输出的内容是什么?css function O(name){ this.name=name||'world'; } O.prototype.hello=function(){ return function(){ console.log('hello '+this.name) } } var
相关文章
相关标签/搜索