You all know that the window.location.reload(true)
is now deprecated. It would show a lint error showing Expected 0 arguments, but got 1.
So that an alternative to window.location.reload(true)
is:
window.location.replace(window.location.href)
You all know that the window.location.reload(true)
is now deprecated. It would show a lint error showing Expected 0 arguments, but got 1.
So that an alternative to window.location.reload(true)
is:
window.location.replace(window.location.href)
For further actions, you may consider blocking this person and/or reporting abuse
Udemezue John -
Windson Mateus 🇺🇦 -
Hòa Nguyễn Coder -
Shubham Tiwari -
Top comments (0)