i have array1 form of array and I want to convert it in order to be like array2
const array1 = [
{name:'sds',long:'23',lat:'22'},
{name:'sdsd',long:'33',lat:'55'},
{name:'sds',long:'44',lat:'66'}
];
const array2 = [
{name:'sds',long:23,lat:22},
{name:'sdsd',long:33,lat:55},
{name:'sds',long:44,lat:66}
];
basically, I want to change the datatype of longitude and latitude**(java script** ) please If u know do tell me