`
sambean
  • 浏览: 31923 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

javascript高端程序设计笔记三 object-oriented terminology

阅读更多
1.面向对象的四个特性:封装,聚合,继承,多态
2.javscript也有垃圾收集器,作用和java的gc类似
3.early binding 与 late binding
  early binding,在编译期间就绑定对象的属性与方法,就具有智能感知的功能
  late  binding,在运行期间才绑定对象的属性与方法
  java 是 early binding,javascript是late binding
4.Native Object  ECMA-262定义的classes
                Object Function Array String
                Boolean Number Date RegExp
                Error EvalError RangeError ReferenceError
                SyntaxError TypeError URIError
6.Array
a.声明Array的几种方式
var array = new Array();var array = new Array(5), var array =new Array('a','b','c');
var array = [1,2,3]
b.获取Array的长度Array.length,Array的大小可以动态增加,与java区别很大
分享到:
评论

相关推荐

    MS_Press_Inside_C#

    The goals of this chapter are to guide you through the terminology of object-oriented programming (OOP) and to give you an understanding of the importance of object-oriented concepts to programming....

    IEEE Std 1658™-2011 Terminology and Test Methods of DACs

    IEEE Std 1658™-2011 Terminology and Test Methods of Digital-to-Analog Converter Devices

    BS EN ISO 5395-1-2013 Terminology and common tests

    标题 "BS EN ISO 5395-1-2013 Terminology and common tests" 涉及的是园艺设备安全标准,特别是针对燃烧发动机驱动的割草机的安全要求。这个标准是英国对EN ISO 5395-1:2013的实施版本,同时与BS EN ISO 5395-2:...

    Artificial-Intelligence-Terminology:人工智能领域的英汉配对术语

    Artificial-Intelligence-Terminology The English-Chinese paired terminologies in Artificial Intelligence Domain 我们将机器之心在编译技术文章和论文过程中所遇到的专业术语记录下来,希望有助于大家查阅和...

    SAE J670e-1976 Vehicle Dynamics Terminology.pdf

    * 本文档是《Vehicle Dynamics Terminology-SAE J670》的修订版。 * 修订的目的为了涵盖与方向控制相关的术语。 * 本文档的作用是促进可理解和精确的交流。 知识点五:文档结构和格式 * 本文档的结构按照《SAE ...

    VTK-面向对象3D图形方法——3D操作手册

    * 视觉化的terminology:数据、模型、算法、视觉化工具等。 * 视觉化的例子:科学可视化、信息可视化、商业智能等。 二、为什么需要视觉化? * 视觉化可以帮助人们更好地理解和分析数据。 * 视觉化可以提高数据...

    Inside C sharp

    This chapter has taken you on a whirlwind tour through terminology and concepts that fall under the umbrella of object-oriented programming. A full discourse on the subject would require several ...

    ESD ADV 1.0-2017 for Electrostatic Discharge - Terminology - Glo

    静电放电(Electrostatic Discharge,简称ESD)是电子...ESD防护不仅涉及硬件设计,还涉及到生产环境、操作程序和员工培训等多个方面。因此,全面理解和掌握ESD术语对于任何与电子产业相关的专业人士来说都至关重要。

    Beginning.CSharp.Objects.From.Concepts.to.Code09

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code04

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code03

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code06

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code07

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code08

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Beginning.CSharp.Objects.From.Concepts.to.Code05

    This book addresses the two fundamental concepts that programmers must grasp in order to write a professional object-oriented C# application, then introduces object terminology so you can translate an...

    Office Web Components Object Model and Terminology

    OWC对象说明,方便在应用程序开发时使用

    coda19-terminology-api:适用于CODA-19的术语API

    CODA-19 Terminology API 是一个专门为处理与COVID-19(新型冠状病毒肺炎)相关的术语而设计的应用程序编程接口(API)。这个API允许开发者通过编程方式获取和操作与疾病、医疗术语、研究数据等相关的信息,以支持...

    英文原版-Mosbys Medical Terminology Flash Cards 3rd Edition

    Fun, quick, and easy to study while on the go, Mosby’s Medical Terminology Flash Cards, 3rd Edition provide a great tool for learning and reviewing medical terms. 600 full-color flash cards help ...

Global site tag (gtag.js) - Google Analytics