https://videoindir.mobi/video/xgO2e60eos78/javascript-javascript-loop-variable-scope
JavaScript : JavaScript loop variable scope