This article needs a technical review. How you can help.
This article covers features introduced in SpiderMonkey 31
void JS_SetVersionForCompartment(JSCompartment *compartment, JSVersion version);
||Pointer to a JS compartment.|
compartment. The version comes from the
JSVersion enumerated type.