i have got two dates , i have to generate all dates in between them and store them in an array.(jquery 1.12.1) vs2019

i have got two dates , i have to generate all dates in between them and store them in an array.(jquery 1.12.1) vs2019

hi,

var arr =[{"date":"10/dec2019"},{"date": "11/dec/2019"}] // and so on between 10 dec 2010 to 10 dec 2020

   above thing can be done  using lemda , but pls do not use it as it is not working in my environment , it is working in fiddel. so pls solve with out lembda.