Javascript examples for Array Operation:Array Nest
Is array = [] equal to array = [[]]
<html lang="en"> <head></head> <body translate="no"> <script> var thesesArrays = []; // an empty array var sometheses = ["abc", "Tech", "my"]; thesesArrays.push(sometheses);/*from w w w . ja v a2 s .c o m*/ console.log(thesesArrays[0]); console.log(thesesArrays); </script> </body> </html>