Create
Learn
Share

Javascript Programming Terms - 2

rename
rudyryu's version from 2016-01-13 15:27

Section

Question Answer
ClosuresCloses in all vars a function is suppose to have access to; a feature of JS
Callback Function.A function you give to another function, to be run when the other function is finished; so the function you invoke,calls the function you gave it when it finishes
Function CurryingCreating a copy of a function but with some preset parameters; very useful in mathematical situations.
IIFEImmediately Invoked Function Expressions
InheritanceOne object gets access to the properties and methods of another project
Classical InheritanceWhat is currently the best known, and popular; a way of sharing methods of properties and objects; cons: verbose
Function ConstructorsA normal function that is used to construct objects; The 'this' variable points a new empty object, and that object is returned from the function automatically.
ReflectionAn object can look at itself, listing and change its properties and methods.
Object trainWhere you have access to a property or method among a sequence of objects
Execution ContextA wrapper to help manage the code that is running; there are lots of lexical environments. Which one is currently running is managed via this situation. It can contain things beyond what you've written in your code.
memorize

Section

Question Answer
TranspileConvert the syntax of one programming language, to another; in this case languages, that don't really ever run anywhere, but instead are processed by others that generate Javascript.
Name/Value PairA name which maps to a unique value.The value may be more name/value pairs.
Classical InheritanceWhat is currently best known and popular; a way of sharing methods of properties and objects; cons - verbose
Function ConstructorsA normal function that is used to construct objects; The 'this' variable points a new empty object, and that object is returned from the fuction automatically.
PolyfillCode that adds a feature which the engine may lack.
Syntactic SugarA different way to type something that doesn't change how it works under the hood.
Method ChainingCall one method after another, an each method affects the parent object.
memorize

Recent badges