copy()
TIL that from a browser’s JavaScript console, you can use the copy() function to write a value directly to your clipboard.
I’ve been using the mouse to highlight the output for so long!