#Quick question
17 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
because Rhino doesnt have the capability to parse that correctly
its not a 1:1 copy of javascript, its a copy with most of JS' features
most of this should be fixed when Rhino is replaced by Ichor
because you are creating an object {id: someID}
As you can see you have a paper (id) and you write someID on it. It's like doing {id: "my_id"}.
The object has a key (id) and a value (my_id).
While in the second one you are just creating an incorrect object, because you don't have a key to value relation.
I'm just guessing here
so i might be wrong
No, that's not how JS works
Oh that makes sense
Glad to hear that
in normal js {id} is "shortcut" for {id: id}
oh okay, yeah forgor that...sorry java's fault XD
Haha

Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue! This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.
Do you have any other questions regarding your issue? Feel free to ask!
Note: You should generally create a new post for unrelated issues.
Oh oops I forgot