Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Create Array using JavaScript
WhatsApp
Kaushik S
Sep 16
2015
1.1
k
0
0
<!DOCTYPE html>
<html xmlns=
"http://www.w3.org/1999/xhtml"
>
<head runat=
"server"
>
<title></title>
</head>
<body>
<script type=
"text/javascript"
>
var mulArray=[
[
"C#"
,
"Corner"
,
"is"
,
"Very good site"
],
[
"Want"
,
"To"
,
"know"
,
"then visit www.c-sharpcorner.com"
],
[
"Please"
,
"Visit C# corner Everyday to learn Some thing new"
],
[
"From C# Corner"
, [
" Javascript From C# Corner"
,
" LINQ From C# Corner"
]]
];
console.log(mulArray[0][0]);
console.log(mulArray[1][0]);
console.log(mulArray[1][1]);
console.log(mulArray[2][1]);
console.log(mulArray[3][0]);
console.log(
"Learn "
+ mulArray[3][1]);
console.log(mulArray.length);
console.log(mulArray[3][1].length);
</script>
</body>
</html>
Array
Javascript
Up Next
Create Array using JavaScript