RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

this JS ain't right - Arrow functions vs Function expressions

The this operator in JavaScript can be confusing. Here’s a brief article which goes into how JavaScript figures out what the value of this is, using some buggy Stimulus controller code as a starting point.

https://www.ducktypelabs.com/this/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in