You Can Define Functions Within a LoopMay 30, 2016 ES2015 allows you to define functions within a loop using the let keyword.