Function ResetRealmMathRandomSeed

Source
pub unsafe extern "C" fn ResetRealmMathRandomSeed(cx: *mut JSContext)
Expand description

Reset the seed for Math.random() within the current realm.

Enables embedders to reset the seed at controlled points, e.g. after resuming execution from an instance snapshot of SpiderMonkey’s VM.