anchor.diff:  ﻿namespace IronJS.Native
  +
  +// Removes the warning for using 
  +// "constructor" as an identifier
  +#nowarn "46"
   
   open System
   open System.Globalization
  
positive.code:       else true
      else true
    
    let private constructor' (f:FO) (o:CO) (args:BV array) =
      let date = 
        match args.Length with
        | 0 -> f.Env.NewDate(DT.Now.ToLocalTime())
  
negative.code: 
    let setup (env:Environment) =
      let create a = Utils.createHostFunction env a
      let ctor = new JsFunc<Args>(constructor') |> create
  
      ctor.ConstructorMode <- ConstructorModes.Host
      ctor?prototype <- env.Prototypes.Date
      ctor?parse <- (JsFunc<string>(parse) |> create)
      ctor?parseLocal <- (JsFunc<string>(parseLocal) |> create)
      ctor?UTC <- (JsFunc<Args>(utc) |> create)
  
      env.Globals?Date <- ctor
      env.Constructors <- {env.Constructors with Date=ctor}
  