Web Development/JavaScript3 29. Prototypes, Classes, & OOP 295. Prototype JavaScript is a prototype-based language to provide inheritance. Objects can have a prototype object, which acts as a template object that it inherits methods and properties from. prototype: a property of a class constructor __proto__: a property of a class instance 297. Factory function The function which returns an object. It makes function property of the instance whenever inst.. 2022. 1. 15. 28. AJAX and API's 284. Intro to AJAX - Asynchronous JavaScrip And XML - A new approach to using a number of existing technologies together, including HTML or XHTML, CSS, JavaScript, DOM, XML, XSLT, and most importantly the XMLHttpRequest object. - It allows web applications to make quick, incremental updates without reloading the page. - JSON is used in most case instead of XML 285. Intro to APIs - Application Pr.. 2022. 1. 5. 27. Async JavaScript 273. Call Stack - A stack data structure that stores information about the active subroutine of a computer program. - Subroutines are stacked in call stack in execution order. * 실행 순서대로 subroutine들이 call stack에 쌓인다. 274. WebAPIs & Single Threads - JavaScript is a single-threaded language because of only one call stack (one line execution at a time). - Thus, if we send our data to a server for ex.. 2022. 1. 4. 이전 1 다음