This content originally appeared on DEV Community and was authored by Azaan Suhail
Day 3 of My JavaScript Visual Series 📚✨
All JavaScript Operators - cracked in one Go
Operators in JS aren't just +, -, or .
Today I explored all of them — and the logic behind each one 🔍
✅ Categories I covered:
🔹 Arithmetic: +, -, *, /, %, *
🔹 Assignment: =, +=, -=, etc.
🔹 Comparison: ==, ===, !=, !==, >, <, >=, <=
🔹 Logical: &&, ||, !
🔹 Ternary: condition ? true : false
🔹 Bitwise: &, |, ^, ~, <<, >>, >>>
🔹 Nullish Coalescing: ??
🔹 String + Operators
→ null == undefined ✅
→ null === undefined ❌
→ null >= 0 ✅ but null > 0 ❌
→ undefined becomes NaN when compared with numbers 😮
💥 Mind-blowing interview edge:
null is loosely equal to undefined
Read this GFG article : https://lnkd.in/gdq_gPZf
This content originally appeared on DEV Community and was authored by Azaan Suhail
Azaan Suhail | Sciencx (2025-09-18T14:46:14+00:00) Day 3 of Complete JavaScript in 17 days | Visual Series📚✨. Retrieved from https://www.scien.cx/2025/09/18/day-3-of-complete-javascript-in-17-days-visual-series%f0%9f%93%9a%e2%9c%a8/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.
