From 37ae7c30da60c76b89970802e9cec5fc6e38a285 Mon Sep 17 00:00:00 2001 From: Eugen Cazacu <32613393+oygen87@users.noreply.github.com> Date: Sun, 29 Jul 2018 15:10:19 +0200 Subject: [PATCH] Update increment.js --- examples/commonjs/increment.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/commonjs/increment.js b/examples/commonjs/increment.js index df19980e68a..5b6497cade5 100644 --- a/examples/commonjs/increment.js +++ b/examples/commonjs/increment.js @@ -1,4 +1,4 @@ -var add = require('./math').add; +const add = require('./math').add; exports.increment = function(val) { return add(val, 1); -}; \ No newline at end of file +};