lib: refactored to use ES6 method notation
Refactored to use ES6 method notation in object property definitions
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
lib, lib/internal