as per this article Measuring Performance of Different JavaScript Loop Types, the for...in and for...of aren't the most optimized for loops, the for and .forEach are more the most optimized methods across all browser engine and the for...in seems to be the worst to use and should be avoided when dealing with large dataset which can often be the case with this project
for...in
andfor...of
aren't the most optimized for loops, thefor
and.forEach
are more the most optimized methods across all browser engine and thefor...in
seems to be the worst to use and should be avoided when dealing with large dataset which can often be the case with this project