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

What is the syntax to create an Array in JavaScript?

1 Answers
Best Answer
bestonetechnologies Staff answered 6 years ago

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

Your Answer

0 + 15 =