Questions about execution limit #1781
Unanswered
computerwhizguy
asked this question in
Q&A
Replies: 1 comment
-
There's no way currently for JS code to know the running value OOTB at the moment.
It's statement limit so braces don't matter here.
Variable declaration statement can indeed have multiple items to initialize, which is counted as one statement. Maybe you should ask whether they could give you less restrictive setup if you truly need more statements to be run? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use a product, that includes JINT, and they have set an execution limit of 100,000. In order to optimize usage:
if (foo=="bar") {
bleh = "baa";
}
if (foo=="bar") bleh="baa";
But I think thru testing I determined that it is counted at 2 lines either way.
However, an opportunity I think I found was to combine multiple variable declaration lines into a single line.
Beta Was this translation helpful? Give feedback.
All reactions