Setting a variable to nothing

I have a variable named riding. And at some point in the script I need the variable to become empty/null/nil/nothing. How do I do it with javascript?

riding = null;