How about deleting the default Date object before replacing it? On Mon, Jun 17, 2019 at 8:33 PM Joel Scarfone <joelrscarf...@gmail.com> wrote:
> Hi all! I want to customize a context to forge a different Date object > when running a script. I tried setting a function template on an object > template that would be used as the global object during context creation, > where the function template was set with a Utf8Value created from the > string "Date". This failed however, as it seems the date object created by > default when creating a context overrides it. Any ideas? > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/57c2a11a-7d91-4a87-94d0-31f5dcace231%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/57c2a11a-7d91-4a87-94d0-31f5dcace231%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAKSzg3TYMmoE1y7EVZHWMqdfHhtWEdeXCtCoiwZi-SC5CsNHQg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.