node/lib/internal/events/symbols.js
Deokjin Kim e74dbfb4bd
lib: fix naming convention of Symbol
`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>
2024-06-10 14:56:14 +00:00

12 lines
147 B
JavaScript

'use strict';
const {
Symbol,
} = primordials;
const kFirstEventParam = Symbol('kFirstEventParam');
module.exports = {
kFirstEventParam,
};