Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CurrentTime extends HTMLElement {
- constructor() {
- super(); // 항상 맨 앞에!
- console.log('yey!');
- }
- }
- window.customElements.define('current-time', CurrentTime);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement