In JavaScript, you can define numbers without decimal part:
const age = 10
const veryBigNumber = 5354576767321
or numbers with decimals:
const pi = 3.14
const someNum = 0.1234
Numbers are a primitive type in JavaScript.
This means they are passed by value, not by reference.
We’ll see what that means.
All numbers have some methods (we’ll see soon what methods are!) including toString()
, toFixed()
and some others.
Lessons in this unit:
Are you intimidated by Git? Can’t figure out
merge vs rebase? Are you afraid of screwing up
something any time you have to do something in
Git? Do you rely on ChatGPT or random people’s
answer on StackOverflow to fix your problems?
Your coworkers are tired of explaining Git to
you all the time? Git is something we all need
to use, but few of us really master it. I
created this course to improve your Git (and
GitHub) knowledge at a radical level. Launching
May 21, 2024. Join the waiting list!