James Carr : Functional Programming in Javascript

Posted by horuskol 333 days ago in Programming & Development (http://blog.james-carr.org)
Just a random, late night scribble for the boys and girls out there starting fresh with javascript and not understanding the power that you can harness with it. I’ve given this demonstration before, but it’s always fun to post because someone might learn something new.

Anyway, you might be familiar with your usual function definition...



... Yep, that’s right… a function is just an object in javascript and the name of it is simply a variable.
Discuss
Tags: javascript functions objects programming development All