benchmark: add trailing commas

PR-URL: https://github.com/nodejs/node/pull/46370
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Antoine du Hamel
2023-01-29 20:13:35 +02:00
committed by GitHub
parent 9954052d08
commit ca5f322d32
84 changed files with 134 additions and 116 deletions

View File

@@ -12,22 +12,22 @@ function main({ type, n }) {
noencode: {
foo: 'bar',
baz: 'quux',
xyzzy: 'thud'
xyzzy: 'thud',
},
encodemany: {
'\u0080\u0083\u0089': 'bar',
'\u008C\u008E\u0099': 'quux',
'xyzzy': '\u00A5q\u00A3r'
'xyzzy': '\u00A5q\u00A3r',
},
encodelast: {
foo: 'bar',
baz: 'quux',
xyzzy: 'thu\u00AC'
xyzzy: 'thu\u00AC',
},
array: {
foo: [],
baz: ['bar'],
xyzzy: ['bar', 'quux', 'thud']
xyzzy: ['bar', 'quux', 'thud'],
},
multiprimitives: {
foo: false,