没有合适的资源?快使用搜索试试~ 我知道了~
首页JavaScript Enlightenment 无水印pdf
JavaScript Enlightenment 无水印pdf
需积分: 10 9 下载量 167 浏览量
更新于2023-05-29
收藏 7.1MB PDF 举报
JavaScript Enlightenment 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
资源详情
资源推荐
Cody Lindley
JavaScript Enlightenment
ISBN: 978-1-449-34288-3
[LSI]
JavaScript Enlightenment
by Cody Lindley
Copyright © 2013 Cody Lindley. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editors: Simon St. Laurent and Meghan Blanchette
Production Editor: Kristen Borg
Proofreader: BIM Proofreading Services
Indexer: Ellen Troutman Zaig
Cover Designer: Randy Comer
Interior Designer: David Futato
January 2013:
First Edition
Revision History for the First Edition:
2012-12-18 First release
See http://oreilly.com/catalog/errata.csp?isbn=9781449342883 for release details.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc. JavaScript Enlightenment, the image of a Eurasian eagle owl, and related trade dress are trade‐
marks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trade‐
mark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume no
responsibility for errors or omissions, or for damages resulting from the use of the information contained
herein.
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. JavaScript Objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Creating Objects 1
JavaScript Constructors Construct and Return Object Instances 6
The JavaScript Native/Built-In Object Constructors 8
User-Defined/Non-Native Object Constructor Functions 9
Instantiating Constructors Using the new Operator 10
Creating Shorthand/Literal Values from Constructors 12
Primitive (a.k.a. Simple) Values 13
The Primitive Values null, undefined, “string”, 10, true, and false Are Not
Objects 15
How Primitive Values Are Stored/Copied in JavaScript 16
Primitive Values Are Equal by Value 17
The String, Number, and Boolean Primitive Values Act Like Objects When
Used Like Objects 18
Complex (a.k.a. Composite) Values 19
How Complex Values Are Stored/Copied in JavaScript 20
Complex Objects Are Equal by Reference 21
Complex Objects Have Dynamic Properties 22
The typeof Operator Used on Primitive and Complex Values 22
Dynamic Properties Allow for Mutable Objects 23
All Constructor Instances Have Constructor Properties that Point to Their
Constructor Function 24
Verify that an Object Is an Instance of a Particular Constructor Function 26
An Instance Created From a Constructor Can Have Its Own Independent
Properties (Instance Properties) 27
The Semantics of “JavaScript Objects” and “Object() Objects” 29
2. Working with Objects and Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
iii
剩余165页未读,继续阅读
yinkaisheng-nj
- 粉丝: 763
- 资源: 6952
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 藏经阁-应用多活技术白皮书-40.pdf
- 藏经阁-阿里云计算巢加速器:让优秀的软件生于云、长于云-90.pdf
- 藏经阁-玩转AIGC与应用部署-92.pdf
- 藏经阁-程序员面试宝典-193.pdf
- 藏经阁-Hologres 一站式实时数仓客户案例集-223.pdf
- 藏经阁-一站式结构化数据存储Tablestore实战手册-206.pdf
- 藏经阁-阿里云产品九月刊-223.pdf
- 藏经阁-2023云原生实战案例集-179.pdf
- 藏经阁-Nacos架构&原理-326.pdf
- ZTE电联中频一张网配置指导书
- 企业级数据治理之数据安全追溯
- MISRA-C 2012-中文翻译版.pdf
- 藏经阁-《多媒体行业质量成本优化及容灾方案白皮书》-37.pdf
- 藏经阁-浅谈阿里云通用产品线Serverless的小小演化史-23.pdf
- 藏经阁-冬季实战营第一期:从零到一上手玩转云服务器-44.pdf
- 藏经阁-云上自动化运维宝典-248.pdf
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功