JS学习总结(新手)

1. JS面向对象

http://www.cnblogs.com/JavascriptDream/p/5064976.html

a. Prototype 属性的理解

b. 遗传继承函数

function Extend(Children,Parent){
    for(var p in Parent){
        if(typeof Children[p] == "undefined"){
            Children[p] = Parent[p];
        }
    }
}

2. JS模板引擎

http://www.cnblogs.com/kuikui/archive/2013/05/20/3087863.html

posted @ 2015-12-23 14:29  艳飞扬  阅读(135)  评论(0编辑  收藏  举报