Hi i need run this code on node old version 4.3.2.
I convert same things example:
Buffer.alloc i change to new Buffer
let to var
But i need help to this
var rm2 = dev as broadlink.RM2;
^^
SyntaxError: Unexpected identifier
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
Do you know what this code would look like in an old version of the node
Congratulations on your work!
Hi i need run this code on node old version 4.3.2.
I convert same things example:
Buffer.alloc i change to new Buffer
let to var
But i need help to this
var rm2 = dev as broadlink.RM2;
^^
SyntaxError: Unexpected identifier
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
at node.js:962:3
Do you know what this code would look like in an old version of the node
Congratulations on your work!