SyntaxFix
Write A Post
Hire A Developer
Questions
Use the "+" symbol to cast a string to a number.
window.location.hash = +page_number;