How is 'number' not seen as a string?

Im very confused. Im not sure how, even after writing number in quotes, the program still recognises that as a number and NOT a string with the word ‘number’.

const person = {
_age: 37,
set age(newAge){
if (typeof newAge === ‘number’){ <<----------- how can the program see ‘number’ as a number and not a string?
this._age = newAge;
} else {
console.log(‘You must assign a number to age’);

Im sorry if this format isn’t the right one, I feel overwhelmed trying to figure out how to ask questions on this. Im sorry.


typeof always returns strings.

typeof - JavaScript | MDN