8a4fa5d Fix Date() constructor wrapping

Merged and Committed by Libor Polčák 4 years ago
    Fix Date() constructor wrapping
    
    Make sure that (new Date()) instanceof Date evaluates to true, i.e.
    Date.prototype is a part of the prototype chain of the objects returned
    by Date()
    
        
file modified
+23 -31