DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Discussion on: Explain Like I'm Five: What's a standard library?

Collapse
 
theafr86 profile image
Andrew Robida • Edited on

Anything you don’t have to npm install

Collapse
 
jsn1nj4 profile image
Elliot Derhay • Edited on

Right, and Node and browser JS have different standard libraries, even though (for example) both Node and Chrome use Google's V8 engine.

There are features, classes, objects and functions that both have. But Node has some specifically for server-side operations (e.g. working with a filesystem and listening for network activity), and JS in a browser has some specific to web (e.g. for the DOM and browser window).

Collapse
 
theafr86 profile image
Andrew Robida

Lol I was trying to keep it simple.

Thread Thread
 
jsn1nj4 profile image
Elliot Derhay

Yeah, I realized after I posted that that it defeats the purpose of "explain like I'm five". πŸ€¦β€β™‚οΈ