const name = 'Han'
// define fullName with name value
let fullName = name
// change fullName value
fullName = fullName + ' Solo'
// variable name wasn't updated
console.log(name)
// Han
// only variable fullName was updated
console.log(fullName)
// Han Solo
Created
March 20, 2021 12:40
-
-
Save darleykrefta/359c7fe5f5cf0d45a1bcd91b33f8187e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment