mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2025-11-08 22:11:35 +00:00
Merge pull request #9 from waqashsn/addition-to-language-javascript
Added Array.prototype in languages/javascript.js
This commit is contained in:
@@ -5,7 +5,8 @@
|
|||||||
|
|
||||||
|
|
||||||
// Global object: properties
|
// Global object: properties
|
||||||
Array.length // Reflects the number of elements in an array
|
Array.length // Reflects the number of elements in an array.
|
||||||
|
Array.prototype // Represents the prototype for the Array constructor and allows to add new properties and methods to all Array objects.
|
||||||
|
|
||||||
// Global object: methods
|
// Global object: methods
|
||||||
Array.from(arrayLike[, mapFn[, thisArg]]) // Creates a new Array instance from an array-like or iterable object.
|
Array.from(arrayLike[, mapFn[, thisArg]]) // Creates a new Array instance from an array-like or iterable object.
|
||||||
|
|||||||
Reference in New Issue
Block a user