I have an array
watch = ['52055690','52056600','52056603','52055260','52055255','52055276']
Here every object is coming with single quotes. I just need to get array in following form
[52055690, 52056600,52056603,52055260,52055255,52055276]
I tried following
var range = [];
for (var i = 0; i < watch.length; i ++ ) {
range.push( watch[i])
}
But still i was not able to make it out. Could anyone please help me out with it?
range.push(+watch[i])