Tell us what’s happening:
The statement in the problem:
“Also, make sure nothing is defined using the keyword
Is this correct? I am curious
This statement got me confused at first. But i understood it means “make sure nothing is defined by ‘var’.”
At first i thought i should make sure nothing is defined and i should use var to do it. I had to double check what defined and undefined means.
Your code so far
const magic = () => new Date(); console.log(typeof magic);
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36.
Challenge: Use Arrow Functions to Write Concise Anonymous Functions
Link to the challenge: