#Video2brain javascript crashkurs
Explore tagged Tumblr posts
Text
Video2brain javascript crashkurs

#Video2brain javascript crashkurs code#
Conceptually, there are two types of expressions: those that assign a value to a variable (a = 12) and those that simply have a value (5-3).
#Video2brain javascript crashkurs code#
ExpressionsĪn expression is any valid unit of code that resolves to a value. The exponent part is an "e" or "E" followed by an integer, which can be signed (preceded by "+" or "-"). It can be either positive or negative, if no sign precedes it is assumed to be positive.Ī floating number has the following parts.It does not contain any fractional part.No comma or blanks are allowed within an integer.An integer must have at least one digit (0-9). Integers can be expressed in decimal (base 10), hexadecimal (base 16), and octal (base 8). The Boolean type has two literal values : Use literals to represent values in JavaScript which are fixed values, not variables. It declares a global variable and cannot be changed at the local level.ĪLWAYS DECLARE YOUR VARIABLES WITH VAR!!! Literals & Expressions Can be used to declare both local and global variables. undefined : A top-level property whose value is undefined.Ī JavaScript variable must start with a letter (A-Z, a-z), underscore (_), or dollar sign ($), subsequent characters can also be digits (0-9).null : A special keyword denoting a null value null is also a primitive value.JavaScript recognizes the following types of primitive values. JAVASCRIPT BASICS Hello world JS Bin Values JavaScript, The Language of the Web JAVASCRIPT IS EVERYWHERE Write once, run everywhere Click on Live JSBin (available in most slides) to access JSBin editor with code.Play within a section using up or down arrow key.Go through major sections using left or right arrow key.

0 notes