ES6 Arrow Functions for jQuery Developers

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Nice clear video, just want to say that first :) But... I can't stand using "this". If for some reason I can't think of a way to avoid it, I immediately create a new variable, like you did with the "that = this", except I'll give it a nice descriptive name. It drives me nuts when I have to QA other people's code and they use "this" all over the place. Ever since I stopped using "this" four or five years ago, a major pain point has been completely removed from my workday... I no longer have to keep track of this, ever. Very nice.

loopduplicate
Автор

Very nice tutorial, keep the greay work!

wexchlley
Автор

What's wrong with .bind(this)? :)

DavidKarlsson
visit shbcf.ru