While coding JavaScript sometimes you store the reference of object this
in a local variable for different purposes (to set proper scope, to help code obfuscators, etc.). There are coders who prefer aliasing this
to that
to make it obvious its intention. Other guys use self
since it's pointing to the object itself. I even saw source codes where me
held the reference and it still makes sense. Certainly there are other ones.
Which one should I prefer? Is there a convention on which to use or is it only the matter of taste.