Cómo crear una matriz mixta en JavaScript

The array in JavaScript can be created by using var keyword followed by array name as shown below:

var NumArr = [1,2,3,4,5];

You can create JavaScript array with mixed data types as well, for example, array containing both numbers and strings:

var MixArr = [1, “Mixed”, 2, “Array”];
Defeated Deer