JavaScrip has an built-in function constructor.