Queries and SolutionsCategory: JavaScriptArray in JavaScript
bestonetechnologies Staff asked 5 years ago

What is the syntax to create an Array in JavaScript?

1 Answers
Best Answer
bestonetechnologies Staff answered 5 years ago

var a = [];
var b = [1, 2, 3, 4, 5];

Your Answer

20 + 18 =