01 March 2023

TIL: use copy() in the JavaScript console

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!

Categories

Programming JavaScript Today I Learned (TIL)