Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clock() {
- for (let hours = 0; hours <= 23; hours++) {
- for (let minutes = 0; minutes <= 59; minutes++) {
- console.log(`${hours}:${minutes}`);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement