<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>YDKJS up & going</title>
		<script type=text/javascript charset=utf-8>

		function doSomething(a) {
			function doSomethingElse(a) {
				return a - 1;
			}
			var b;
			b = a + doSomethingElse( a * 2 );
			console.log( b * 3 );
		}
		
		doSomething( 2 ); // 15


		</script>
	</head>
	<body>
		<div>Div here!</div>
	</body>
</html>
