const o = Object.freeze({ a: { b: 1 } }); o.a.b = 2; 之后 o.a.b 的值是?

JavaScript

  1. A.1
  2. B.2
  3. C.undefined
  4. D.抛出 TypeError