Ladybug Podcast cover image

Level up with JavaScript

Ladybug Podcast

00:00

Using Suprintitis to Create New Cities

There's this concept of prototypes where we've got city, well, maybe we've got baseball cities. Maybe we have tako cities with tak, i don't know, that's a huston city a. We can use this new key word to ibstantiate new city objects. So if we create houston, for example, we could say, cons ston equals new city and then pass it in the values for the names. And now we have this blue print, we can actually create new cities. The big kind of parodime within this prototype chain is a hierarchy of different prototypes.

Play episode from 14:19
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app