window.location.reload(); mutation error code example Example: refresh window js window.location.reload();