query: Difference between "new Array(..)" and "[..]" in JavaScript?
positive_passages.docid: 9785
positive_passages.text: What’s the difference between "Array()" and "[]" while declaring a JavaScript array?
negative_passages.docid: 55433
negative_passages.text: Why does the definition of Array.map in Scala is "throw new Error()"
negative_passages.docid: 43630
negative_passages.text: Is Object constructor called when creating an array in Java?
negative_passages.docid: 33647
negative_passages.text: Difference between (function(){})(); and function(){}();
negative_passages.docid: 47676
negative_passages.text: What does "var FOO = FOO || {}" (assign a variable or an empty object to that variable) mean in Javascript?
negative_passages.docid: 146525
negative_passages.text: Javascript - breaking up string literals... why?
negative_passages.docid: 142537
negative_passages.text: JavaScript Object Literals & Array Literals
negative_passages.docid: 68074
negative_passages.text: JavaScript 'in' operator for `undefined` elements in Arrays
negative_passages.docid: 113601
negative_passages.text: What is the difference between .*? and .* regular expressions?
negative_passages.docid: 81043
negative_passages.text: Objects vs arrays in Javascript for key/value pairs
negative_passages.docid: 110201
negative_passages.text: Difference between var = {} and var = []?
negative_passages.docid: 14412
negative_passages.text: Create an empty object in JavaScript with {} or new Object()?
negative_passages.docid: 88224
negative_passages.text: How to initialize an array's length in JavaScript?
negative_passages.docid: 16650
negative_passages.text: .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?
negative_passages.docid: 33421
negative_passages.text: What is the difference between for..in and for each..in in javascript?
negative_passages.docid: 82652
negative_passages.text: String.length() vs Array.length
negative_passages.docid: 103488
negative_passages.text: What is the difference between list and list[:] in python?