Please enable JavaScript.
Coggle requires JavaScript to display documents.
Javascript - Coggle Diagram
Javascript
运算符
-
*
+
/
%
++
--
+=
-=
*=
/=
比较运算符
!==
>
!=
>=
===
<
==
<=
逻辑运算
||
!
&&
数据类型
null
boolean
true
false
undefined
symbol
String
object
Number
其他
数组
变量
全局
local
对象
There are two ways to access the properties of an object: dot notation (.) and bracket notation ([]), similar to an array.
Accessing Object
Bracket Notation
Dot Notation
递归
递归结束的条件
递归的表达式例如 f(n) = n* f(n-1)
花了很大篇幅来介绍这个概念
随机数
Math.floor
流程控制
if
for
for ([initialization]; [condition]; [final-expression])
while
switch
函数