function addition (a, term) { var result; if (a < 3000) { return = a + term; } else { return false; } } alert(additional(300, 500)); alert(additional(4000, 500));