27

Javascript中的高级特性及特别对象、属性和方法 - - SegmentFault 思否

 4 years ago
source link: https://segmentfault.com/a/1190000020897845
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Javascript中的高级特性及特别对象、属性和方法 一,编写构造函数 {代码...} [JavaScript] 纯文本查看 复制代码? function Circle (xPoint, yPoint, radius) { {代码...} } {代码...} [JavaScript] 纯文本查看 复制代码?1var aCircle = new Circle(5, 11, 99); 二,使用原型来创建对象 {代码...} [JavaScript] 纯文本查...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK