Commit 7fd6c203 authored by Antoine du Hamel's avatar Antoine du Hamel
Browse files

tools: refactor prefer-primordials

Use optional chaining to improve code readability and remove use of
`Array.prototype.reduce`.

PR-URL: https://github.com/nodejs/node/pull/36018


Reviewed-By: default avatarShingo Inoue <leko.noor@gmail.com>
parent 549a11c7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment