[JavaScript] Q. 랜더링 속도가 가장 빠른 것은?
console.log('out__top') function foo() { console.log('foo'); } $(window).on('load', function(){ console.log('jQuery - load') }) $(document).ready(function () { console.log('jQuery - ready'); }) $(function () { console.log('jQuery - ready 축약') }) window.addEventListener('DOMContentLoaded', function () { console.log('DOMContentLoaded') }) window.addEventListener('load', function () { console.log('..
JavaScript/질문
2021. 12. 15. 07:05