for example, I have a variable var a = 1
. I want to assign this variable to the clipboard. What can I do?
in addition, I would also like to ask, if there is a copy of the content in the clipboard, how to get this content and paste it to the console?