1. Ten Simple JavaScript Exercises

1 of 10 simple JavaScript exercises. http://www.ling.gu.se/~lager/kurser/webtechnology/lab4.html JavaScript Exercise: Define a function max() that takes two numbers as arguments and returns the largest of them. Use the if-then-else construct available in Javascript.

HTML

<div id="console-log"></div>

JavaScript

console.log("a");