~/talk

Pro.Prototypes Workshop

TalkinRussianat HolyJS 2024 Spring · 2024-04-15..04-27· [javascript]
links:none on file
slides:none on file

A hands-on workshop that explores JavaScript prototype mechanics using live code in the browser console and Node with Chrome inspect. It demonstrates extremely deep prototype chains (up to 1000 levels) to reveal performance limits, constructs mixed class/function chains to emulate super calls, and shows replacing the chain tail with a proxy-backed prototype end. Examples include a TypeScript library providing a strict-typing decorator that throws on type mismatches and an async lifecycle decorator that delays inheritance; all demos and source code are on GitHub and most run live despite occasional debugger issues.

AI-written summary · about

  1. 0:00Welcome
  2. 1:51Preparing examples
  3. 7:16JavaScript prototypes history
  4. 17:29Constructors vs classes
  5. 27:19Primitives and wrappers
  6. 37:00Metaprogramming with symbols
  7. 47:02Proxies and prototype chains
  8. 1:00:13Mixing classes and constructors
  9. 1:11:03Strict typing libraries
  10. 1:34:54App lifecycle and structure
  11. 1:40:28Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.