I have the following issue:
var accountScheduler = "{!JSENCODE(Account.Number_Of_Due_Days__c)}";
Upon initializing the accountScheduler
variable I receive the following error:
Error: Incorrect argument type for function 'JSENCODE()'.
Could you please advise what could be the reason and how to avoid such error?