If you want to insert the same value into each Index, you can do the following:
var newTutorial = new Array();
for (var i = 0; i < 17; i++) {
newTutorial[i] = new Array();
newTutorial[i]['header'] = 'some header';
newTutorial[i]['text'] = 'some text';
}
source
share