I have an array and I want to print this array as an array itself in a div like this:
array = [[1,2],[1,3],[1,4]]
Here is what I have currently:
var a = [[1,2],[1,3],[1,4]];
document.querySelector("#test").innerHTML= "array = " + a
<div id="test"></div>