JavaScript has an built-in function constructor.