OVMS3/OVMS.V3/components/duktape/config/feature-options/DUK_OPT_NO_NONSTD_STRING_FROMCHARCODE_32BIT.yaml

10 lines
380 B
YAML

define: DUK_OPT_NO_NONSTD_STRING_FROMCHARCODE_32BIT
introduced: 1.2.0
tags:
- ecmascript
description: >
By default Duktape String.fromCharCode() allows 32-bit codepoints which is
non-compliant (the E5.1 specification has a ToUint16() coercion for the
codepoints) but useful because Duktape supports non-BMP strings. This
feature option restores the compliant behavior.