Open s-jd opened 2 years ago
function toArr(obj){ console.log(Object.keys(obj)); return Array.from({length:12},(v,k)=>{ if(obj[k+1]===undefined){console.log("ok"); return null} else{return obj[k+1]} }) }