JavaScript obtenga un valor deslizante HTML

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