JavaScript mendapatkan nilai slider html

var x = document.getElementById("myRange").value
Horrible Hippopotamus