Quiz Challenges
100
Question 89 of 100
89%
89
What will be the output of code?
Copy
const
a
=
{
firstName
:
'Joe'
}
;
const
b
=
a
;
b
.
firstName
=
'Pete'
;
console
.
log
(
a
)
;
A
{ firstName: Joe }
B
{ firstName: Pete }
Submit Answer
Previous
89
/
100
Next