This is a card in Dave's Virtual Box of Cards.

JavaScript

Page created: 2023-11-25
Updated: 2026-04-29

New for 2024: I also have a demonstration page for Textarea Syntax Highlighting.

I’ve done tons of JavaScript projects. Some highlights:

Where do JS prototypes come from?

From ARK (Smith) by way of Self (Smith and Ungar).

screenshot of an ungar slide bullet point reading Warehouse of prototypes instead of global name space of classes

Check out Randall Smith’s ARK system on my microworlds page.

'this' is regretful

I almost never use the this keyword if I can help it. If I do, it’s one line at the beginning of a callback and I get what I need from it and then leave it alone. Never trust this in some deeply nested code somewhere. It will always hurt you when you least expect it.