T & S Computers


Notes
JavaScript



	variables
		must begin with a letter or  _
		numbers are allow after that
		case sensitive
		
		scope : global (entire page) or local ( to function/object - must use var )
		type
			numbers - decimal - 0x hex - 0 oct
			floating point - must have a . or an E/e
			boolean - true or false (duh)
			String - deliminated by either " or '
			Objects - myObj = new Object();
			Variables are undefined when created
	operators
		Arithmatic - standard 
		Comparision - standard
		Boolean - standard
		String -      + concatenation   normal comparison
		
	expressions
	statements
		conditionals
			if .. else
			switch 
			for ( ; ;  )
			do..while
			while 
			break
			for in
			Comment (//)
	objects
		DOM
			
	functions/methods