SyntaxFix
Write A Post
Hire A Developer
Questions
var yearStart = 2000; var yearEnd = 2040; var arr = []; for (var i = yearStart; i <= yearEnd; i++) { arr.push(i); }