-1
/*jshint esnext: true */

function getListOfVas(customer, OfferingSubCategory, generalFilters=null){
};
Ramesh Rajendran
  • 37,412
  • 45
  • 153
  • 234
srv
  • 61
  • 1
  • 1
  • 11
  • 1
    [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) – Andreas Feb 22 '18 at 12:35
  • [`esnext` is deprecated](http://jshint.com/docs/options/#esnext). Try `esversion: 6` instead. – Andreas Feb 22 '18 at 12:44
  • line 26 col 77 'default parameters' is only available in ES6 (use esnext option). esversion: 6 not working – srv Feb 22 '18 at 13:17

1 Answers1

0

change generalFilters=null to generalFilters for the ECMAScript 6 syntax

Stphane
  • 3,368
  • 5
  • 32
  • 47
Ramesh Rajendran
  • 37,412
  • 45
  • 153
  • 234