Hi guys, I got a quick question for you.
In an exercise I was told to write the value of a property which is a function without parenthesis this way (line15):
Now in another exercise, I’m told to write the value of a property with parenthesis which is also a function, this way (line 46):
So my question is when should I use parenthesis and when not, when It comes to writing a function as a value of a property ?
Thank you !!!