/xyz/.test(function(){xyz;})? / \ b_super \ b /:/。* /;

时间:2011-05-07 23:58:41

标签: javascript function inheritance prototype

  

可能重复:
  Question on this JavaScript Syntax (“What Does This Do?”)

大家好,我一直在阅读这篇博文:http://ejohn.org/blog/simple-javascript-inheritance/

我理解 fnTest = /xyz/.test(function() {xyz;})这一行? / \ b_super \ b /:/.*/; 现在但我不知道整个代码到底在做什么。这些评论很难理解,我想知道是否有人可以澄清这些线条到底做了什么(在一个更简单的解释中)?

0 个答案:

没有答案