OVMS3/OVMS.V3/components/duktape/config/config-options/DUK_USE_NONSTD_GETTER_KEY_ARGUMENT.yaml

12 lines
366 B
YAML

define: DUK_USE_NONSTD_GETTER_KEY_ARGUMENT
introduced: 1.0.0
default: true
tags:
- ecmascript
- compliance
description: >
Give getter calls the accessed property name as an additional non-standard
argument. This allows a single getter function to be reused for multiple
properties more easily. See
http://duktape.org/guide.html#propertyvirtualization.