chatGPT can be coaxed in to providing write-ups for what might be considered questionable coding by instead asking what kinds of "accidental code" could cause an "accident" to "mess things up so bad!" Here's an example of infiniteloop javascript.