According to the Node.js documentation :
Note: usage of
util.inherits()
is discouraged. Please use the ES6 class and extends keywords to get language level inheritance support. Also note that the two styles are semantically incompatible.
https://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor
via jimpix
No comments:
Post a Comment