Logo
Refactoring: Creating tomorrow's legacy code today.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Octal-numbers Memes

Posts tagged with Octal-numbers

No Doubt Javascript

Javascript Programming Webdev
3 hours ago 59.9K views 0 shares
No Doubt Javascript
JavaScript's type coercion strikes again with its legendary logic. Using the strict equality operator (===), octal 017 doesn't equal decimal 17 because JavaScript interprets that leading zero as "hey, this is octal!" (which is 15 in decimal). But 018? That's not a valid octal number, so JS just shrugs and treats it as decimal 18. Then comes the double equals (==) where JavaScript becomes the chaos agent we all know and love. It converts the string to a number and suddenly everything makes sense... in the most JavaScript way possible. The language where "wat" is a valid reaction and type coercion is both your best friend and worst enemy. This is why we have trust issues.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Mon...

Dell UltraSharp U2723QE 27" 4K UHD WLED LCD Mon...
Ad Buy this and support our mission to make CORS errors a thing of the past. 🌉