Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class CurrentTime extends HTMLElement {
constructor() {
super(); // 항상 맨 앞에!
console.log('yey!');
}
}
window.customElements.define('current-time', CurrentTime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment