When i am setting the week of the day using
cronExp.addValue('dayOfTheWeek', week);
cronExp.addValue('dayOfTheMonth', day);
cronExp.addValue('monthOfTheYear', month);
i am getting the following error.
Uncaught TypeError: value.indexOf is not a function
This is the screenshot of the issue

I hope the issue is in the below function
