mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
e74dbfb4bd
`node.js` prefix is used for global symbol(`Symbol.for`). So remove `node.js` prefix from `Symbol` usage. Refs: https://github.com/nodejs/node/blob/main/doc/contributing/using-symbols.md#symbolforstring PR-URL: https://github.com/nodejs/node/pull/53387 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
12 lines
147 B
JavaScript
12 lines
147 B
JavaScript
'use strict';
|
|
|
|
const {
|
|
Symbol,
|
|
} = primordials;
|
|
|
|
const kFirstEventParam = Symbol('kFirstEventParam');
|
|
|
|
module.exports = {
|
|
kFirstEventParam,
|
|
};
|