The read() method of the Clipboard interface returns a Promise that fulfills with a copy of the clipboard's contents.
read()
MDN Reference