Question #20

Author: admin
tags: JavaScript  
const obj = {
  x: 1
};

console.log(obj        .        x);    // many spaces
What will the console output be?
1
{ x: 1 }
obj, x
obj        .        x
No output, an error will occur.
A dot is just a "Member Access" operator.
You are not surprised by the presence of spaces or line feed when using other operators, are you?
Rate the difficulty of the question:
easyhard