Book Description
Shifting the emphasis of learning from memorizing to understanding JavaScript.
“If you are looking for a source that describes the most common methods from the JavaScript library, this is it. This is a great reference book.”
How many times have you attempted to learn JavaScript, only to put it on the side because it was too complex or you just felt overwhelmed by the information overload?
This may be the book that will propel you forward to become a JavaScript programmer. Get yourself ready and cross that bridge now, download the eBook.
JavaScript Objects Functions and Arrays Explained covers a lot of material as you may see from the index below. However, each chapter is self-contained and easy to understand with plenty of illustrations and links to files of code you can physically copy. The author is, above all, a teacher.
This is a method to learn and to refer back later. The author recommends to read and review the book several times. It is easy to grasp but powerful when repeated the second time around.
Table of Contents
PART I : AT THE GATES OF ENLIGHTENMENT
Prototypical versus Class-based
The Memory Concept
Variables vs. Reference Types
Everything comes from objects
More Variables, add Functions.
Named Functions vs. Anonymous Functions
The Untouchable Object
Native objects
Hosted Objects
What is a property?
What is a variable?
What is an execution context?
The Window Object – Intro
An example of scope
More Primitive and Reference Values
How to pass in data from the stack to the heap
PART II – KNOW THY TOOLS
Strings as Objects in JavaScript
charAt and charCodeAt
fromCharCode
concat
indexOf and lastIndexOf
match
replace
search
slice
split
substr
substr vs substring
toLowerCase and toUpperCase
trim
valueOf
Array as Objects in JavaScript
concat
join
reverse
sort
pop and push
shift and unshift
slice
splice
New JavaScript Array Iteration Methods
forEach
map
every
some
filter
New JavaScript Array Reduction and Location Methods
What is Reduction
reduce
reduceRight
Location Methods
indexOf versus lastIndexOf
PART III – ENTERING THE SECOND REALM
JavaScript Functions and Arguments as Objects
arguments
Nested Functions
A Gentle Introduction to Closures
The closure principal
Lexical Scope
The arguments object versus inner functions
The “this” variable
Functions as Object Constructors
Function Proprieties and Methods
apply and call
Adding more arguments to call and apply
More practice with call, apply methods.
PART IV – STRENGTHENING THE WARRIOR’S ARSENAL
The Math Object
Math.random, floor, ceil, round
Math.max and Math.min
Math.pow, Math.sqrt, Math.abs
Math constants, PI
Useful Math Object references
The Date Object
Converting Date to a string
Useful JavaScript date libraries
PART V – DEFEATING THE DRAGON
Unordered Lists as Objects
Accessor methods
Mutation methods
Practice and review: Create a Loan Application Object
How to automatically evaluate and call a method
Prototyping new methods
Objects that inherit from other objects
How to include prototype methods inside a constructor
中文:
书名:JavaScript Objects Functions and Arrays Explained, 2nd Edition
Shifting the emphasis of learning from memorizing to understanding JavaScript.
“;如果您正在寻找一个源代码,它描述了JavaScript库中最常见的方法,这就是它。这是一本很棒的参考书。
有多少次你试图学习JavaScript,但因为它太复杂或你只是觉得信息超载而把它放在一边?
这本书可能会推动您成为一名Java程序员。做好准备,现在就跨过这座桥,下载电子书。
说明了JavaScript对象、函数和数组 涵盖了很多材料,您可以从下面的索引中看到。然而,每一章都是独立的,易于理解,有大量的插图和指向您可以实际复制的代码文件的链接。作者首先是一名教师。
这是一种可以学习并在以后参考的方法。作者建议对这本书进行多次阅读和评论。它很容易掌握,但如果重复第二次,它就会很有力。
目录表
第一部分:在启蒙之门
Prototypical versus Class-based
记忆的概念
Variables vs. Reference Types
万物皆来自物件
More Variables, add Functions.
命名函数与匿名函数
不可触摸的物体
Native objects
Hosted Objects
什么是财产?
什么是变量?
什么是执行上下文?
窗口对象-简介
An example of scope
More Primitive and Reference Values
如何将数据从堆栈传递到堆
第二部分–了解你的工具
Strings as Objects in JavaScript
Charat和CharCodeat
fromCharCode
合并
indexOf and lastIndexOf
match
更换
搜索
slice
split
substr
子字符串与子字符串
ToLowerCase和ToUpperCase
trim
值为
Array as Objects in JavaScript
合并
join
reverse
sort
pop and push
shift and unshift
slice
splice
新的JavaScript数组迭代方法
forEach
map
every
some
filter
新的JavaScript数组缩减和定位方法
What is Reduction
减缩
减缩Right
定位方法
IndexOf与LastIndexOf
第三部分–进入第二领域
作为对象的JavaScript函数和参数
arguments
嵌套函数
A Gentle Introduction to Closures
封闭性原则
Lexical Scope
参数对象与内部函数
“This”变量
Functions as Object Constructors
Function Proprieties and Methods
apply and call
Adding more arguments to call and apply
更多地练习调用、应用方法。
第四部分–加强勇士的军火库
The Math Object
Math.random, floor, ceil, round
Math.max和Math.min
Math.pow、Math.sqrt、Math.abs
数学常量,PI
有用的数学对象引用
The Date Object
Converting Date to a string
Useful JavaScript date libraries
PART V – DEFEATING THE DRAGON
作为对象的无序列表
访问器方法
突变方法
实践与回顾:创建贷款申请对象
如何自动计算和调用方法
原型化新方法
从其他对象继承的对象
如何在构造函数中包含原型方法
评论前必须登录!
注册