Web Dev Roadmap for Beginners (Free!): [ Ссылка ]
In this video we'll discuss JavaScript numbers and several useful JavaScript number methods. All in less than 8 minutes!
▶ This video is part of the JavaScript Tutorials for Beginners Playlist found here: [ Ссылка ]
✅ Quick Concepts outline:
(00:00) Intro
(0:08) Dev Environment
(0:30) Integers
(0:42) Floats
(0:50) When JavaScript shows decimals
(1:10) Number data vs String data in the console window
(1:20) Comparing Integers and Floats
(1:47) Equations with Strings vs Numbers
(2:05) The Number() function
(2:33) "Not a Number" aka NaN
(2:50) Boolean data represented as Numbers
(2:58) 0 === false
(3:06) isInteger() method
(3:21) parseFloat() method
(3:47) toFixed() method
(4:04) parseInt() method
(4:17) toString() method
(4:35) Chaining methods using dot notation
(5:00) Number.isNaN() method vs global isNaN() function
📚 Further Reading:
MDN Web Docs - Number Reference: [ Ссылка ]
MDN Web Docs - Basic Math in JavaScript: [ Ссылка ]
📺 More Beginner JS Videos:
freeCodeCamp: [ Ссылка ]
Traversy Media: [ Ссылка ]
The Net Ninja: [ Ссылка ]
✅ Follow Me:
Twitter: [ Ссылка ]
Medium: [ Ссылка ]
#Javascript #Numbers #Tutorial
Ещё видео!