✂⚋⚋⚋⚋ clb92 ⚋⚋

I am:
@clb92@feddit.dk (MAIN LEMMY PROFILE)
@clb92@mastodon.social (Main Mastodon profile)
@clb92@kbin.social
@clb92@lemmy.world
@clb92@lemmy.ml
And /u/clb92 on Reddit (and many other places)

  • 1 Post
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle




  • Like == but more strict. The == operator will do type conversion, so 0 == '' will actually be true, as an example. Sometimes (honestly, most times) you may want to compare more strictly.

    See this StackOverflow answer: https://stackoverflow.com/questions/359494/which-equals-operator-vs-should-be-used-in-javascript-comparisons