Play Video Arrow Function

This play video function comes from my mini studio 1. In my studio project I have several videos playing at once and when you hover over any one of the videos, it will pause. When your mouse leaves the video, it will play again, which is where this function is used.

Video Play

            function playVideo(video) {
                video.play();
            }
           
        

Function Expression

            const playVideo = function(video){
                video.play();
            }
        

Arrow Function

            const playVideo = video => video.play();