Change all values ​​of the array to a single value

To do this, you need the fill: method.

var app = new Data(["D","B","A","C"],{
    fill: "data.js"
});

Last updated