码迷,mamicode.com
首页 > 其他好文 > 详细

程序设计思维

时间:2015-05-14 23:17:57      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:

1,判断不同结构的同类型程序: 如果obj有pro -->  true,否则false, true就执行,false不执行。

例: var ifAutoPlay;

  function filte() {  

    if( this.ifAutoPlay ){

      this.AutoPlay();    

    }

   }     

程序设计思维

标签:

原文地址:http://www.cnblogs.com/leo388/p/4504712.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!