We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebcce6 commit dea09f9Copy full SHA for dea09f9
runtime/stdlib.js
@@ -837,7 +837,9 @@ function caml_sys_get_config () {
837
//The function needs to return an array since OCaml 4.0...
838
function caml_sys_random_seed () {
839
var x = new Date()^0xffffffff*Math.random();
840
- return {valueOf:function(){return x;},0:0,1:x,length:2};
+ var res = [0,x];
841
+ res.valueOf = function(){return x};
842
+ return res;
843
}
844
//Provides: caml_sys_const_big_endian const
845
function caml_sys_const_big_endian () { return 0; }
0 commit comments