Skip to content Skip to sidebar Skip to footer
Showing posts with the label Arrow Functions

What Are Es6 Arrow Functions, How Do They Work?

I am curious about ES6 arrow functions (fat arrow functions). Are they simply syntactic sugar deriv… Read more What Are Es6 Arrow Functions, How Do They Work?

Es6 Class Methods Not Returning Anything Inside Foreach Loop

For some reason the method getTwo() inside the PollClass won't return 2 but undefined. If I put… Read more Es6 Class Methods Not Returning Anything Inside Foreach Loop

"this" Keyword Behaves Differently When Using Arrow Functions With JQuery Callbacks

I have a table with multiple rows, and on each row, there is an edit and delete button. In short, w… Read more "this" Keyword Behaves Differently When Using Arrow Functions With JQuery Callbacks

What Are ES6 Arrow Functions, How Do They Work?

I am curious about ES6 arrow functions (fat arrow functions). Are they simply syntactic sugar deriv… Read more What Are ES6 Arrow Functions, How Do They Work?