background preloader

Javascript

Facebook Twitter

Bootstrap Designer - Generate Bootstrap Templates at the speed of light! Javascript: Function Invocation Patterns. JavaScript has been described as a Functional Oriented Language (this as opposed to Object Oriented Language).

Javascript: Function Invocation Patterns

The reason is because functions in JavaScript do more than just separate logic into execution units, functions are first class citizens that also provide scope and the ability to create objects. Having such a heavy reliance upon functions is both a blessing and a curse: It's a blessing because it makes the language light weight and fast (the main goal of its original development), but it is a curse because you can very easily shoot yourself in the foot if you don't know what you are doing.

Table of Contents — An Introduction to libuv.