Redirect URL in Javascript

Redirect URL in Javascript : How to tutorial with examples