3520914 Alea reimplemented using common ECMAScript constructs

Authored and Committed by Libor Polčák 2 years ago
    Alea reimplemented using common ECMAScript constructs
    
    The original code was confusing, some code was not used at all, some
    functions pretend to be a constructor without actually being a
    constructor. The implementation of Baagoe allowed multiple seeds while
    our implementation did not. Baagoe code used to reimplement missing
    support for multiple seeds.
    
        
file modified
+33 -44
file modified
+1 -1