Currently browsing JavaScript Arrays & Objects

Tuesday, May 10, 2022

How and Why to Avoid ‘for’ Loops

Never again use for() for looping. Using for() can be dangerous, especially if you use a library which adds attributes…

Tuesday, October 24, 2023

Generate HTML List From JavaScript Array

Generate an HTML list based on the contents of a JavaScript array. By modifying the makeList() function to accept parameters…