Cara Mendapatkan Nilai Variabel Fungsi Luar Dalam JavaScript

/* Not putting "var", "let" or "const" will make the variable Public
And usable outside a functin */

function Play(){
  	Video = 12 // Seconds
	var Length = 15
}
console.log(Video) // Prints 12
console.log(Length) // "Lenght" is undefined
Undefined