ChatGPT wrote this simple function I needed for Music Jotter in javascript lol. I needed to find the missing sequence. For example: [1, 2, 4, 5, 6, 7] must yield 3. The logic is simple. Just sort the array, and determine if current and prev values are NOT equivalent.