js copy to clipboard with /n code example Example: js copy to clipboard navigator.clipboard.writeText("Hello, World!");