Successfully added
JavaScript
by Patrik
var variables can be re-declared and updated
This means that we can do this within the same scope and won't get an error.
var greeter = "hey hi"; | |
var greeter = "say Hello instead"; |
and this also
var greeter = "hey hi"; | |
greeter = "say Hello instead"; |
Referenced in:
Comments