mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-03 07:54:40 +08:00
A call of a function-valued private static field through a receiver other than the class's own name (this.#fn(a) in a static accessor) checks the receiver and calls the stored function with this bound to the receiver, instead of reading a public "#fn" property. this.#x++, --this.#x and this.#x op= v check the receiver where the old value is read and update the field's native storage, instead of a public "#x" property.