en.javascript.info/1-js/09-classes/01-class/1-rewrite-to-class/task.md

9 lines
196 B
Markdown

importance: 5
---
# Rewrite to class
The `Clock` class (see the sandbox) is written in functional style. Rewrite it in the "class" syntax.
P.S. The clock ticks in the console, open it to see.