hackerearth - frontend intern - preliminary test 2020 questions code example
Example: hackerearth - frontend intern - preliminary test 2020 questions
function constfuncs() {
var funcs = [];
for(var i = 0; i < 10; i++)
funcs[i] = function() { return i; };
return funcs;
}