JavaScript beginners often expect this to return false:
[Code:
Boolean("false")
]
But it returns true.
Why?
Because every non-empty string in JavaScript is truthy.
What was the most surprising JavaScript behavior you discovered while learning? ๐
#JavaScript#CodeNewbie
JavaScript surprise today:
score++ and ++score don't always behave the same way.
score++ returns the current value first, then increments.
++score increments first, then returns the new value.
Easy bug source for beginners.
#JavaScript#100DaysOfCode
JavaScript Progress Update๐
โ Variablesโ Strings
Practiced string manipulation, template literals, indexing, and methods like slice(), replace(), and trim().
Writing code for every concept instead of just consuming tutorials.
Next: Numbers & Booleans. #JavaScript#FreeCodeCamp
Learning HTML, CSS & JS is not enough. Build projects to stand out ๐ป
I compiled 11 web dev project ideas with features & skills to build your portfolio.
DM me "21 project ideas" & I'll send it! ๐#webdev#coding#programming#javascript#portfolio#100DaysOfCode
@CodeLokesh22 Just a advice to myself , rn i am in 4th year , wanted to do all the learning quickly but if I got chance to go back to my initial engg stage , would love to start slowly but consistently.