JavaScript: Difference Between Reflect.Set vs Property Assignment Syntax

By Xah Lee. Date: . Last updated: .

Reflect.set(obj, key, val) is similar to the operator form obj[key] = val.

The difference are:

JavaScript: Set Property

BUY
ΣJS
JavaScript in Depth

JS Obj Reference

Reflect