Functions are First-Class Citizens
A function can be:
โข Stored in a variable
โข Passed as an argument
โข Returned from another function
Functions are treated like any other value in JavaScript
Day 2/100
Today I learned how JavaScript handles data.
Topics covered:
โข Why data types exist
โข Static vs Dynamic Typing
โข Primitive vs Object Types
โข typeof operator
โข Functions as first-class citizens
โข var, let and const
@rohit_negi9#Thunder#100dayofcode#JavaScript
Day 1/100
Today I learned why JavaScript exists.
I always thought it was created because websites needed interactivity.
Turns out the story involves:
โข Netscape
โข Sun Microsystems
โข Java Applets
โข Browser limitations
Here's my visual summary:
Continuing Day 1...
After understanding why JavaScript was created, I wanted to understand:
โ Why WebAssembly exists
โ Why browsers can't run native binaries
โ Why JavaScript still matters
โ How sandboxing works
โ What V8 actually does
Visual notes below ๐