so capitalize has (str) in it … i have no idea what that is… str is short for string
but in order for that to be a string it needs " "
but this is just (str) . i have no idea what its purpose is there since it doesn’t actually say that its a str ,theres no var str = ""
that defines that short term for a string so im really confused what its doing there.
I understand for example var city =“paris” thats a string
i somewhat understand that when you put var capital = capitalize(city), im guessing it wants function capitalize and var city
to change the var city that is, they want it to have the first letter capitalized . but what purpose does the (str) at the begining have to do with it… couldnt that capitalize() be empty and still work?
And this!!! This blows my mind , what in gods name does "number " mean here … correct me if i’m wrong but even though it says number if its in " " it makes it a string . in my eyes str === “number” . str isnt a string and “number” isnt a number. does the "number " mean something in js ? bcs to me THAT looks like a string .