原话是(219页): Then it implements the getArea() method, using Heron's formula: Area = s(s-a)(s-b)(s-c) 's' is the semi-perimeter (perimeter divided by two). 当然上面的这个getArea()方法的代码逻辑上也是错的了。因为作者错误的引用了海伦公式去计算三角形面积。 ...
评分推荐第五章(prototype)和第六章(inheritance) 和《javascript设计模式》第四章的继承描述点类似。 继承的3种方式: 1、extend 2、clone 3、mixin 其他章节适合入门学习,对js的基础知识解析很详细。
评分原话是(219页): Then it implements the getArea() method, using Heron's formula: Area = s(s-a)(s-b)(s-c) 's' is the semi-perimeter (perimeter divided by two). 当然上面的这个getArea()方法的代码逻辑上也是错的了。因为作者错误的引用了海伦公式去计算三角形面积。 ...
评分原话是(219页): Then it implements the getArea() method, using Heron's formula: Area = s(s-a)(s-b)(s-c) 's' is the semi-perimeter (perimeter divided by two). 当然上面的这个getArea()方法的代码逻辑上也是错的了。因为作者错误的引用了海伦公式去计算三角形面积。 ...
评分其实,完全可以不读... node.js有自己的函数工具类来搞定一些比较怪异的js oo问题 node.js多半都是以:modules的方式来搞定namaspaces和oo的 http://nodejs.org/api/modules.html 而且node还有一个工具函数:util:inherit来搞定原型继承。。 http://nodejs.org/api/util.htm...
非常简单的书,看的是E文版
评分中间有部分内容看的很费劲。。。
评分不错
评分开始的对象讲的的还是很细的,中间第七章的12种继承方法讲的不错,很全面,后面的dom和bom部分基本都已经比较熟悉了。
评分Javascript基础知识讲得极为清晰。
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有