Cannot make my own class
I am trying to mkae my own class in Adobe Acrobat DC using Javascript, but I keep getting this error
"Syntax Error: class is a reserved identifier". Which doesnt make any sense as I am not making a variable called "class" I am defining a class to make objects.
Here is my code:

If anyone can help, please get back ASAP as this is a project for a client and I have a certain number of hours to work on it and get it done.
Thanks
