
>2424>6 + 410>7 * 2 + 1
15
> var x = 13> x13> var y = 7> y + x20
> "Hello World"Hello World> var websiteTitle = "Facebook";
> console.log(websiteTitle);
> "Hello " + "Jane"Hello Jane> "How could you eat " + 8 + " hot dogs??"How could you eat 8 hot dogs??
> 3 > 5false> var s = true;> strue
> (1 > 3) || (3 > 1)true> var cookies = true> var code = true> cookies && codetrue
while (<insert expression that is true/false>) {<do stuff>}
for ( <do before loop> ; <if this is true, run block> ; <do this after>) {<do stuff here>}
if (<something is true>) {<do this>} else {<do this>}
> function sayHi(name) {}console.log("Hi " + name);> sayHi("Don");Hi Don
alert("Hello");
> var t = sayHi;
> var batman = {name: "Bruce Wayne",enemy: "Joker",playThemeSong: function() {console.log("nananana Batman");}}> batman.playThemeSong();nananana Batman> batman.nameBruce Wayne
<html><header></header><script src="flashingColors.js"></script>
<body><h1>Colors are flashing!!</h1></body></html>

$('#batman').click(function() {alert("Na Na Na Batman");});$('#batman').bind('dblclick', function() {alert("Na Na Na Double Batman");});
$.ajax({data: { name: 'Don' },url: 'https://graph.facebook.com/me/friends?',type: 'GET',success: function(response) {alert("Don's friends are here");}});