Copy link to clipboard
Copied
Hello!
I've been trying to add a function for adding sigma notation into acrobat so I can have a responsive code for summing totals the following script doesn't work!
function mathSigmaSymbol (startIndex, endIndexInclusive, iteratorFunction) {
let accumulator = 0;
for(let i = startIndex; i <= endIndexInclusive; ++i) {
accumulator += iteratorFunction(i);
}
return accumulator;
}
Please help me!
Change "let" to "var".
Copy link to clipboard
Copied
Change "let" to "var".
Copy link to clipboard
Copied
THANK YOU!!!