Not sure if they're used as much these days, but many libraries like jQuery had implementations of 'forEach' behavior before 'forEach' was supported by newer browsers. jQuery has a .each() function with an implementation that supports breaking out of loops early by returning false. This was a source of confusion for me when I switched from using jQuery to the native 'forEach' in newer versions of JavaScript, as the implementation is not the same regarding 'falsey' return values.
https://api.jquery.com/jQuery.each/
From the docs: "We can break the $.each() loop at a particular iteration by making the callback function return false. Returning non-false is the same as a continue statement in a for loop; it will skip immediately to the next iteration."