只做题,先不说话

已知:

var str = "string";
var Fn = function() {var i;};
var f = new Fn();

下面的语句执行结果,你能说对几个?

   1. str.__proto__
   2. str.prototype
   3. str.constructor
   4. str.__proto__.constructor
   5. Fn.__proto__
   6. Fn.prototype
   7. Fn.constructor
   8. Fn.__proto__.constructor
   9. Fn.__proto__.__proto__
  10. f.__proto__
  11. f.prototype
  12. f.constructor
  13. f.__proto__.constructor
  14. f.__proto__.__proto__

测试页面:test_proto.html

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Comments »

 
 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>