//Having trouble reassigning the value of the userObject phoneNumber. How does one write a replacement in a single variable function?
Any tips would be greatly appreciated.
// Exercise Three: In this exercise you will be given an object called 'userObject'
// The phonne number for this user is incorrect!
// reassign the 'phoneNumber' key to the value: '(951)867-5309'
// return the userObject
const phoneNumber = ['userObject'];
userObject = "(951)867-5309";
What language is this? Java right?
phoneNumber = "(951)867-5309";
but I don't know if you can reassign consts...