How to make Booleans from Java look like primitive Javascript booleans? #1139
-
Hi, I'm starting with Rhino. Suppose I have the following code:
Let's say Is there a way to override this behavior so that While I can do it, I'd like to get rid of calling Any insight appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not having looked into this, but I'd say take look at the wrapfactory used by your context and if using the default wrapfactory look at the setting to wrap primitives (or not) |
Beta Was this translation helpful? Give feedback.
Not having looked into this, but I'd say take look at the wrapfactory used by your context and if using the default wrapfactory look at the setting to wrap primitives (or not)