How To Implement The Screen Wake Lock Api In Javascript

How To Implement The Screen Wake Lock Api In Javascript