Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Common JavaScript Manual/How read this book

From Wikibooks, open books for an open world
<Common JavaScript Manual

Optional arguments

[edit |edit source]

Optinal variables enclosed in square brackets. For example Array.join([separator])

Variable in description

[edit |edit source]

In function description variables are bolded. For example Math.sqrt(num) - square root ofnum

Undefined number of arguments

[edit |edit source]

Undefined number of arguments in function written as name... and function description name are all these variables in general, and name[n] either name. For example Array.concat(elements...) - returns array that containg elements fromArray andelements ifelements[n] is array then to the array that returns are added all elements fromelements[n].

Retrieved from "https://en.wikibooks.org/w/index.php?title=Common_JavaScript_Manual/How_read_this_book&oldid=2054876"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp