Quiz Challenges
52
Question 45 of 52
87%
45
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
45
/
52
Next