O'Reilly logo
  • Nivan Morgan thinks this is interesting:

var square = function(x) { return x * x; }

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

simple way to code a function is a function definition expression