Delete the values ​​of the array

Try:

var app = new Data(["D","B","A","C"],{
    shift: true
});

Last updated