Correct: `Array.from()` (it’s a static method) Incorrect: `Array.join()` (doesn’t exist; it’s a prototype method) This patch uses the common `#` syntax to denote `.prototype.`.
Reduced function code to a single line. Uses Date.toTimeString() and String.slice() to select just the colon time from stirng.
Fixed formatting of both snippet files.