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

13 lines
393 B
YAML

define: DUK_USE_NONSTD_STRING_FROMCHARCODE_32BIT
introduced: 1.2.0
default: true
tags:
- ecmascript
- compliance
description: >
Allow 32-bit codepoints in String.fromCharCode(). This is non-compliant
(the E5.1 specification has a ToUint16() coercion for the codepoints) but
useful because Duktape supports non-BMP strings.
When disabled, Duktape provides the compliant behavior.