Javascript Challenges

Don't judge a book by its cover

Copy and run, individually, the following lines of code in your console:

console.log( '#1:', 'mañana' === 'mañana' );
console.log( '#2:', 'mañana' === 'mañana' );

Exercise

Correct!
False!

Why the first execution of console.log logs #1: true?

Exercise

Correct!
False!

Why the second execution of console.log logs #2: false?