I want to write an if for my code to first check the support of navigator.clipboard.writeText then set my text in it, how can I do that in javascript?
Asked
Active
Viewed 25 times
0
-
It's already answered here https://stackoverflow.com/questions/51805395/navigator-clipboard-is-undefined – Hadi Zare Feb 02 '22 at 13:02