Skip to content

Instantly share code, notes, and snippets.

@browny
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save browny/bc3b824d287ea849f46d to your computer and use it in GitHub Desktop.

Select an option

Save browny/bc3b824d287ea849f46d to your computer and use it in GitHub Desktop.
note_on_eloquent_javascript

Eloquent JavaScript

http://eloquentjavascript.net/

Chap1. Values, Types, and Operators

There are six basic types of values in JavaScript: numbers, strings, Booleans, objects, functions, and undefined values

JavaScript uses a fixed number of bits, namely 64 of them, to store a single number value

There are three special values in JavaScript that are considered numbers but don’t behave like normal numbers: Infinity, -Infinity and NaN

The first two are Infinity and -Infinity, which represent the positive and negative infinities. NaN stands for “not a number”, even though it is a value of the number type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment