Open RamyAlshurafa opened 6 years ago
https://github.com/FACG5/Later-team/blob/aaf09e86bb9ef670f8be49789e2e8d704cffb617/puplic/js/index.js#L4-L13 we learned that every nested scope can reach the contained scope so there is no need to declare objct outside to reach it because cb(objct,count); inside nested scope
objct
cb(objct,count);
https://github.com/FACG5/Later-team/blob/aaf09e86bb9ef670f8be49789e2e8d704cffb617/puplic/js/index.js#L4-L13 we learned that every nested scope can reach the contained scope so there is no need to declare
objct
outside to reach it becausecb(objct,count);
inside nested scope