Notes

Take them as Lorem Ipsum

JS Puzzle

Oct 09, 2008

Write a function getMax(a,b) that takes two integers and returns the maximum value. None of the following are allowed: >, <, ==, !=, Math.max, Math.min.


function getMax(a, b) {
 ...
 return max;
}

Send your answers here. I will post the solution in a few days.

Solution


View all notes...