return function f(v) { return a + v; }; }; var plus5 = plusX(5); var plus2 = plusX(2); plus5(10) -> 15 plus2(10) -> 12 • A function object contains: ◦ A function (name, parameters, body) ◦ A reference to the environment in which it was created (context) • This is a VERY good things ◦ Robust code (no global variables, no global functions) ◦ High performance