I am new to programming and JavaScript so please bear with me if its a stupid question.
I initialised two variables
let firstName = "blah";
let FirstName = "bleh";
When i write a below if statement i expected the output to be "right on" since the variable names are different (case-sensitive), but i get "boink". Could anyone kindly explain whats happening here?
if (firstName = FirstName) {
console.log('boink')
} else {
console.log('right on')
}