JSFiddle - React, Tailwind, and code Playground
by Zaheer Ahmed
JavaScript
var dataTypes=new Array();
dataTypes[0]="String";
dataTypes[1]="Number";
dataTypes[2]="Boolean";
alert(Object.prototype.toString.call(dataTypes));
dataTypes=new Array("String","Number","Boolean");
alert(Object.prototype.toString.call(dataTypes));
dataTypes=["string","number","boolean"];
alert(Object.prototype.toString.call(dataTypes));