In strict mode, assigning to an undeclared variable throws a ReferenceError. Without strict mode, it silently creates a global variable.
Challenge: Write testUndeclared() that:
eval to run code in strict mode that assigns to an undeclared variabletrue if a ReferenceError is caught, false otherwise