Creating an unnamed function code example Example: Creating an unnamed function var x = function(y) { return y * y; };