javascript/FrameStack is a SAP Parameter attribute which is used to control CL_JAVA_SCRIPT: size of internal call stack in bytes information. This is available within R/3 SAP systems depending on the version and release level.
Below is the standard documentation available and a few details of the attributes values .
This parameter makes it possible to configure the size of the framstack
used by the JavaScript class in bytes. Just like other programming
languages, JavaScript stores certaininformation on a stack when calling
functions/methods. The size of this memory range is already defined when
creating the JavaScript context (a CL_JAVA_SCRIPT instance) and can then
not be changed.
CAUTION
A value that is too low can cause the stack to overflow while executing
large scripts which can lead to undefined behavior of the JS Engine
(usually core).
See SAP Parameter Documentation for full SAP documentation for this profile parameter.