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 authored and Juan José Arboleda committed 2023-03-04 23:03:31 -05:00
1 parent 92f0747e03
commit 6f91c8e2ae
83 files changed
+133 -115

No files matched your search

@@ -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,