util: use hasOwnProperty() primordial · nodejs/node@4aee98b · GitHub
Skip to content

Commit 4aee98b

Browse files
Trottdanielleadams
authored andcommitted
util: use hasOwnProperty() primordial
Avoid Object.prototype.hasOwnProperty. Use primordial instead. PR-URL: #41692 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 018ec32 commit 4aee98b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/internal/util/inspector.js

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)