📄️ Numbers
These are all JavaScript Numbers examples. No matter positive, negative or decimal. We call them numbers.
📄️ Number to string conversion
Complete the function numberToString which converts the number it receives into a string.
📄️ Convert string to number
To convert string to number, we have to use Number.parseInt() method.
📄️ Get next year I
Complete the function getNextYear such that it returns next year(adding 1 to current year).
📄️ Get box width
Complete the function getBoxWidth such that it returns the width of the box.
📄️ Operations
At the beginning of the course, we used the * operator to demonstrate multiplication and we use the / operator for division.
📄️ Get division remainder of 2
Complete the function getBoxWidth such that it returns the width of the box.