mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user