What is the output of the following code?
var getNumber = new Function("number = 42", "return number;"); console.log(getNumber());
42
The default parameters in ES6 is the fact that they work even when creating a dynamic function.