logo CodeStepByStep logo

minMax

Language/Type: JavaScript basics mystery
Author: Melissa Hovik (on 2016/09/25)

What is the output of the following code?

let  min = 10;
let max = 17 - 16 / 4;
max += 6;
min = max - min;
console.log(max * 2);
console.log(max + min);
console.log(max);
console.log(min);
output

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.