I read-in elements from an HTML DOM input
and save them into an array. Unfortunately, my code creates an array of strings
as illustrated in the code below:
let delete00To04Am = document.getElementById("time000am400amEveryDay").value.split(',');
console.log(delete00To04Am);
The code above yields:
['1669669200000', '1669755600000']
It is NOT my intention to for the elements to be saved as strings in the array. How do I convert the contents of the array from strings into non-strings
For clarity purposes, my desired result is:
console.log(delete00To04Am);
[1669669200000, 1669755600000]
and NOT:
['1669669200000', '1669755600000']