250307.1 · b989f98033b7eb061e875b8137d670d8a20c259b
refactor: use const to replace var (#593)
reading declarations
Changes to src/1-getting-started/1_hello_world/node-addon-api/hello.js. All files
src/1-getting-started/1_hello_world/node-addon-api/hello.js
@@ -1,3 +1,3 @@-var addon = require('bindings')('hello');+const addon = require('bindings')('hello'); console.log(addon.hello()); // 'world'