From ba3551ccf14b3484b470f5b9516d0632ebdb60c3 Mon Sep 17 00:00:00 2001 From: WH Date: Tue, 6 Feb 2018 12:32:07 +0500 Subject: [PATCH] Added Array.prototype in languages/javascript.js --- languages/javascript.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages/javascript.js b/languages/javascript.js index b0eab0a..fa7a5e2 100644 --- a/languages/javascript.js +++ b/languages/javascript.js @@ -5,7 +5,8 @@ // 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 Array.from(arrayLike[, mapFn[, thisArg]]) // Creates a new Array instance from an array-like or iterable object.