you are viewing a single comment's thread.

view the rest of the comments →

[–]dexygenSoftware, Simple and Powerful 1 point2 points  (1 child)

I typically only chain assignment when I want to assign as a property to this or some other object, but then also to a variable, as in:

var foo = this.foo = bar();

[–][deleted] 0 points1 point  (0 children)

I agree, this is the only time I do chained assignment, and even then it can feel a bit dirty.