In this video, we're going to talk about one of the basic types of data in Java …script, the number. And we're also going to talk a little bit …about math. Now, of course, you know what a number is. …12 is a number. All numbers in Java script are of the …same type. If you've ever looked at another …programming language, sometimes numbers are parsed out into different types, like …integers or floats or doubles or various things. …In Java script, everything is simply a number.…
So, 12, in Java script is the same thing as 12.0, which if you're used to thinking …of numbers in terms of the real world makes sense. …But sometimes in programming this is not the case. …In Java script it is the case, they're both the same thing. …So you can have numbers with lots and lots of decimal points. …Although you can see I put this in with this many decimal points and the …precision was limited to only this many. So there is a limit to the precision of …decimals in Java script. But probably in most cases, unless you're …
- Enabling Firebug and web inspectors
- Using a text editor
- Declaring and assigning a variable
- Booleans and the quest for truth
- Working with objects and arrays
- Using operators and control structures
- Iterating with loops
- Objects, references, and functions
- Understanding variable scope
Skill Level Beginner
Q: In "How to enable Firebug and web inspectors," at the Chrome Canary part, the author mentions going to the View menu, and then Developer. My Canary has no menu bar. The author uses a Mac, whereas I have Windows. How do I get to the same place?
A: Click the menu button at the top right of Chrome, select More Tools, and then choose Developer Tools.
1. Getting Started
Our friend, the text editor3m 35s
2. Variables and Types
3. Objects, Arrays, and More
4. Operators and Control Structures
5. Iterating with Loops
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.