diff options
author | 2023-07-20 17:50:54 -0400 | |
---|---|---|
committer | 2023-07-20 14:50:54 -0700 | |
commit | c383c6cd810a80c6080096bbad737f9fa17f2e7b (patch) | |
tree | 21bb087d724facae5dba31666ead3abd03528a53 /bench/snippets/node-vm.mjs | |
parent | 68b4a64569039f39c7bb661570bf65b80028cf92 (diff) | |
download | bun-c383c6cd810a80c6080096bbad737f9fa17f2e7b.tar.gz bun-c383c6cd810a80c6080096bbad737f9fa17f2e7b.tar.zst bun-c383c6cd810a80c6080096bbad737f9fa17f2e7b.zip |
Pass constructor arguments to TextDecoder (#3692)
* Make TextDecoder constructor use options parameter
The constructor now actually sets TextDecoder properties using the
options parameter.
* Defer decoder allocation to end of constructor
* Verify types of TextDecoder options
* TextDecoder throw TypeError on failure
* Tidying
Diffstat (limited to 'bench/snippets/node-vm.mjs')
0 files changed, 0 insertions, 0 deletions