JavaaScript localStorage Get Number, pas String
if (localStorage.getItem("score") !== null) {
score = Number(localStorage.getItem("score"));
}
Eager Earthworm
if (localStorage.getItem("score") !== null) {
score = Number(localStorage.getItem("score"));
}