sort((a, b) => a.salary - b.salary);
getItem()
вернёт null
.JSON.parse(null) // null
JSON.parse(localStorage.getItem("no_such_key")) // null
div.style.display = 'none';
div.style.display = 'block';
div.style.opacity
while()
socket_close()
– всё. ${movie.professionText.replace(/ы$/, "")}
const nobl = (str) => str.replace(/ы$/, "");
data.forEach((movie) => {
// ...
${nobl(movie.professionText)}