en.javascript.info/1-js/07-object-oriented-programming/10-class-inheritance/2-clock-class-extended/solution.view/index.html
Ilya Kantor 97c8f22bbb up
2017-03-21 17:14:05 +03:00

23 lines
337 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Console clock</title>
</head>
<body>
<script src="clock.js"></script>
<script src="extended-clock.js"></script>
<script>
let lowResolutionClock = new ExtendedClock({
template: 'h:m:s',
precision: 10000
});
lowResolutionClock.start();
</script>
</body>
</html>