Suicide Server Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
BlackEco@lemmy.blackeco.com to JavaScript@programming.devEnglish · 4 months ago

Don't use functions as callbacks unless they're designed for it

jakearchibald.com

external-link
message-square
0
link
fedilink
1
external-link

Don't use functions as callbacks unless they're designed for it

jakearchibald.com

BlackEco@lemmy.blackeco.com to JavaScript@programming.devEnglish · 4 months ago
message-square
0
link
fedilink
…same goes for option objects.

I stumbled on the exact same issue described at the end of the “The same issue, but with web platform functions” section today, thought it might be worth sharing that article here.

alert-triangle
You must log in or # to comment.

JavaScript@programming.dev

javascript@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !javascript@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 2 users / week
  • 29 users / month
  • 29 users / 6 months
  • 1 local subscriber
  • 2.48K subscribers
  • 41 Posts
  • 2 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Ategon@programming.dev
  • nick@programming.dev
  • UI: unknown version
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org