Eloquent Javascript Flashcards
What is HTTP used for?
It is used to retrieve web pages and the files associated with them.
What does URL stand for?
Universal Resource Locators.
Name the parts a URL composed of?
First part is the HTTP Protocol. Second part names he served on which this page can be found. Third part names a specific file on this server.
What is sandboxing?
Isolating a programming environment.
Name some methods off the window object.
document, timers (setTimeout)
JavaScript provides a way to encode and decode query parameter.
encodeURIComponent and decodeURIComponent
What does HTTP stand for?
Hypertext Transfer Protocoo
Define a constructor
Functions used to create new objects are called constuctors. Conventions are to name constructors with a capital letter. For example, “new Rabbit()”.
Define Functional Programming.
Produces abstractionthrough clever ways of combining functions.
Name popular type of abstractions in JS.
Functional Programming and Object Oriented Programming to name a few.