var video = 1000 var otherVideo = video otherVideo = 1000 console.log('video' ,video) console.log('otherVideo' ,otherVideo) var a = [2,3,4,5,5,7] var itor = a.entries() while(itor.next())