How to properly declare esversion in javascript?

Hi,



I am not sure if it is okay to leave the warning be.

But I tried to follow that I needed to declare esversion, just not sure if I've done it properly.



Any comments?



Like 0

Like

3 comments
Best reply

Solem Khan Abdusalam,

 

Hi,

 

Thank you! This is a warning message that the arrow function is supported in Ecma Script 6 only. Here is the list of browsers and their versions that support arrow functions (information copied from here):

There is a low probability that a client will have an older browser version so you can ignore this warning or use function declaration to create a method.

 

Best regards,

Oscar 

Hi Solem,

 

Unfortunately the image wasn't loaded properly, can you please reupload it or share the code itself?

 

Thank you!

 

Best regards,

Oscar

Hi,



I edited my question.

Solem Khan Abdusalam,

 

Hi,

 

Thank you! This is a warning message that the arrow function is supported in Ecma Script 6 only. Here is the list of browsers and their versions that support arrow functions (information copied from here):

There is a low probability that a client will have an older browser version so you can ignore this warning or use function declaration to create a method.

 

Best regards,

Oscar 

Show all comments