2018-10-16 21:32:40 +05:30

992 B

title
title
Understanding Boolean values

Understanding Boolean values

Problem explanation:

Modify the welcomeToBooleans function so that it returns true instead of false when the run button is clicked.

Hint 1

You just need to edit line 5 so the function returns true instead of false.

try to solve the problem now

Spoiler Alert!

Solution ahead!

:beginner: Basic code solution:

function welcomeToBooleans() {

// Only change code below this line.

return true; // Change this line

// Only change code above this line.
}

Code explanation

Just modifying the Boolean value you wan't the function to return from false to true will meet the requirements.

Resources

MDN glossary - Boolean

Wikipedia - Boolean data type