Clock

Clock

Medium

Instructions

Implement a clock that handles times without dates.

You should be able to add and subtract minutes to it.

Two clocks that represent the same time should be equal to each other.

Using the built-in Date class and its methods is not allowed.

Last updated 23 June 2022
Edit via GitHub The link opens in a new window or tab
JavaScript Exercism

Ready to start Clock?

Sign up to Exercism to learn and master JavaScript with 31 concepts, 139 exercises, and real human mentoring, all for free.