Skip to content

Commit 807a42d

Browse files
joyeecheungaduh95
andauthored
util: use private symbols in JS land directly
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 1602d45 commit 807a42d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-util-internal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ const {
1414

1515
const obj = {};
1616
assert.strictEqual(obj[arrow_message_private_symbol], undefined);
17-
assert.deepStrictEqual(Reflect.ownKeys(obj), []);
1817

1918
obj[arrow_message_private_symbol] = 'bar';
2019
assert.strictEqual(obj[arrow_message_private_symbol], 'bar');
20+
assert.deepStrictEqual(Reflect.ownKeys(obj), []);
2121

2222
let arrowMessage;
2323

0 commit comments

Comments
 (0)