Question: It's Javascript Consider the following code: let disguisedToast = { imposter: false, iq: 100 }; Write a line of code using the existing disguised Toast

 It's Javascript Consider the following code: let disguisedToast = { imposter:

It's Javascript

Consider the following code: let disguisedToast = { imposter: false, iq: 100 }; Write a line of code using the existing disguised Toast object (in the blanks provided) to do each of the following (in the specified order). Don't forget to use semi-colons! Each item should only require 1 line of code. Please use double quotes for strings. 1. Change imposter status of disguisedToast to true using the dot operator 2. increase the iq of disguisedToast by 100 using the indexing (square braces) and += operators 3. Add a new attribute to disguised Toast named "games won" and set its corresponding value to 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!