JS
challenger
Home
JavaScript Basics
loops
Double a value using a while loop
Double a value using a while loop
Use a while loop to double the value of 'num' until it is greater than 100. Add a concise comment as a hint.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console