Is this statement "Also, make sure nothing is defined using the keyword var."

Tell us what’s happening:
The statement in the problem:
“Also, make sure nothing is defined using the keyword var .”

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:

1 Like

Hello @Hisoka. That’s how languages are supposed to be.

But, at first, I thought the opposite! It’s just the way we read it.