On this page:
allow-anonymous-function-source-elements?
infer-do-while-semicolon?
enable-extended-catch-statements?
allow-nested-function-declarations?
proper-tail-recursion?
stack-limit
allow-eval-aliasing?
code-representation
lexical-keywords
enable-let-expressions?
debug-destination
debug-scope-resolution?
debug-unbound-references?
ecma-strict?
current-debug-port

9 Configuration Parameters

This library provides configuration parameters for the other libraries. It be can required via:

 (require javascript/config) package: javascript

Allow anonymous function expressions to appear in source-element contexts (non-standard)?
Allow do..while statements to omit the final semicolon (non-standard)?
Allow Mozilla-style multiple catch clauses (non-standard)?
Allow function declarations to appear nested within statements (non-standard)?
Enable proper tail recursion? (Not implemented.)

value

stack-limit : (parameter/c (optional/c natural-number/c))

Impose an artificial stack depth limit.
Allow treating eval as a general value?

value

code-representation : (parameter/c (one-of/c 'standard 'sexp))

Used for the DrScheme tool to choose between the standard JavaScript syntax and an S-expression syntax.
Recognized lexical keywords.
Enable non-standard let expressions?

value

debug-destination

 : (parameter/c (one-of/c 'error-port 'debug-console))

value

ecma-strict? : (pseudo-parameter/c boolean?)

A pseudo-parameter for setting parameters above to adhere strictly to the Ecma standard.
The output port used for displaying debugging information during evaluation.