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