Firstly, Enums start from 0, so calling it ONE will still yield 0 as it's value. To start your Enum incrementing from 1 you would have to define your Enum like so:
enum aaa
{
ONE = 1,
TWO,
THREE
};
As for doing maths with them, you will need to cast it to an int like this:
EDIT: Corrected cast for JavaScript.
var sum = i + j * parseInt(aaa.TWO);
This will work for how you want to use it. Though I'm curious to ask why you're doing this?
You can't cast like that in JS.
– Eric5h5Oh damn it. My bad, thanks. I will update my post.
– anon45606706