Code and coffee #2

#1.0 Review

# Certificate

#Mentor  2.0

# Ask any question on spot or chatroom

TEST FOR TODAY

What is the output out of the following code? Explain your answer.

var a={},
    b={key:'b'},
    c={key:'c'};

a[b]=123;
a[c]=456;

console.log(a[b]);

Instruction 

Step 2: Select Javascript

Step 3: Copy Paste and run test 

Happy Coding

https://www.freecodecamp.com/

deck

By Desmond Kam

deck

  • 361