JavaScript Interval

function setInterval(function_to_make_loop, how_fast_it_will_get_ran)

The JavaScript Interval is a way to create function that can update the game. They are used to make infinite code loops for like a update function to update the game, to do them you must do the following:

Second parameter table: * close to however not perfectly identical