How to use 'reload the page to get source for' in JavaScript

Every line of 'reload the page to get source for' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
105reload() {
106 this.redirect(this.current, {force: true});
107}

Related snippets