Basic JavaScript - Declare a Read-Only Variable with the const Keyword

Tell us what’s happening:

the last checkpoint requires the following ;" console.log should be changed to print the FCCand fact variables"

i thought the correct answer should be

'print (FCC, fact);

instead of

console.log(FCC, fact) which is the actual correct answer,
I’m not really understanding why it is not “print”, since it says “should be changed to print” ?

thank you

Your code so far

const FCC = "freeCodeCamp"; // Change this line
let fact = "is cool!"; // Change this line
fact = "is awesome!";
print (FCC, fact); // Change this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15

Challenge: Basic JavaScript - Declare a Read-Only Variable with the const Keyword

Link to the challenge:

It means “print to the console”. You print to the console with console.log. There is no print function in JS.

With JavaScript console.log() is used to “print” or write to the console. You were instructed to change some of the variable names, so what needs to be changed on that line is the name of the variables passed to console.log.

print() is used to “print” or write with python.