educative.io

Arrow Functions used before teaching

It is like this throughout the onboarding course’s JavaScript module. Arrow Functions and other ES6 syntax is used everywhere even before teaching it.
I already know this syntax so I was able to understand, but a regular student may not.

In fact, in one place, the exercise explicitly asks the student to write arrow functions even though they haven’t been taught yet.

And to top that up, the test case doesn’t recognise arrow functions and rest parameters correctly. Even if they are used, the test case says they aren’t.

Hi @hallucinogenizer
Kindly open the lesson link and verify the sequence again, the lesson on the Arrow function is covered before Exercise on Spread Operator and Rest Parameters. For reference, I have attached the screenshot.

Thank you