Updating Properties
Updating Properties
A const object variable cannot be reassigned, but its properties can still be changed. The binding is fixed; the object contents are not frozen.
Your task: Update task.done to show that the task is complete. Then create and log taskStatus from the updated property.
Free with a JS Exercises account
Sign in to start coding, run your solution, and keep your progress saved for later. No payment needed.
By continuing, you agree to our Terms and Privacy Policy. We'll send occasional product updates and news. You can unsubscribe anytime.
Updating Properties
A const object variable cannot be reassigned, but its properties can still be changed. The binding is fixed; the object contents are not frozen.
Your task: Update task.done to show that the task is complete. Then create and log taskStatus from the updated property.