Question #233

Author: admin
tags: JavaScript  
function doSomething(obj = { x: 0 }) {
  obj.x++;
  console.log(obj.x);
}

doSomething();
doSomething();
What will be printed in the console?
0, 0
0, 1
1, 1
1, 2
Rate the difficulty of the question:
easyhard