https://libarea.ru/articles/773/prekratite-ispolzovat-klassy-javascript