Content tagged as 'Function'

Here is a list of all the content that has been tagged as function.

JavaScript Properties

Redirects to legacy blog post.

In ECMAScript 5 we now have two distinct kinds of properties.

  • Data properties
  • Accessor properties

Extending, Currying and Monkey Patching part 3

Redirects to legacy blog post.

Monkey Patching, or sometimes known as Duck Punching.

Extending, Currying and Monkey Patching part 2

Redirects to legacy blog post.

Currying got it’s name from Haskell Curry, originally discovered by Moses Schönfinkel. The programming language Haskell named after Haskell Curry is a purely functional language. So the concept of Currying has it’s roots in functional programming. It seems that the concepts of Currying and Partial Function Application are often used interchangeably, although they are different. Lets try and shed some light on the confusion.

Extending, Currying and Monkey Patching part 1

Redirects to legacy blog post.

Extending: The JavaScript Function.prototype.call and Function.prototype.apply methods allow us to extend an object with additional functionality…

Function Declarations vs Function Expressions

Redirects to legacy blog post.

This short post is in reaction to another post on JavaScript Function Declarations and Function Expressions. My concern was with the littering of the global object.