DEV Community

Arrow Functions in ES6

Sarah Chima on October 26, 2017

Along with ES6 came arrow functions. If you learnt JavaScript before ES6 was introduced or you learnt JavaScript using resources that are yet to in...
Collapse
 
belhassen07 profile image
Belhassen Chelbi

can you clarify the "No Binding of Arguments" ? Thanks Sarah

Collapse
 
stanleynguyen profile image
Stanley Nguyen

I think you should have a look at the explanation of arguments object on MDN: developer.mozilla.org/en-US/docs/W...

Collapse
 
belhassen07 profile image
Belhassen Chelbi

thanks Stanley ♥

Collapse
 
jeansberg profile image
Jens Genberg

I found this very helpful.Thanks :)

Collapse
 
sarah_chima profile image
Sarah Chima

I'm so glad you did. :)

Collapse
 
luispa profile image
LuisPa

Great examples, Sarah!

Collapse
 
sarah_chima profile image
Sarah Chima

Thank you Pauly :)

Collapse
 
jorgutdev profile image
jorgutdev

Very good examples!

Collapse
 
sarah_chima profile image
Sarah Chima

Thank you :)

Collapse
 
siluvana profile image
Siluvana

Very clear examples.
Is it possible that the last counter sample has an error? Shouldn't be console.log(this.seconds) rather than that.seconds?

Collapse
 
sarah_chima profile image
Sarah Chima

Wow. Thanks for pointing out. I've corrected it.