google-home-notifier
google-home-notifier copied to clipboard
Default parameter in function doesn't work.
On Ubuntu 17.04 , node ver.4..7.2 when I run example.js I am getting: /home/artur/google-home-notifier/google-home-notifier.js:8 var device = function(name, lang = 'en') {
^
Default parameter comes with node v6. You or currently with v4.