structure
jQuery 구조
기본 구조
function jQuery(selector) {
}function jQuery(value) {
const tags = typeof value === "string" ?
document.querySelectorAll(value) : [value];
return tags;
}jQuery("h1")기능 추가
명칭 간소화
이벤트 추가
결론
Last updated