This video explain you the concept of redirection in javascript, their are two types of redirection. first one is on button clicking moving to the next window, second one is with the use of settimeout method that will automatically redirect after specific interval of time.