Why Nostr? What is Njump?
2025-02-18 08:13:54

Egge on Nostr: Because I received a coupe of DMs pointing out a bug in this code: in JavaScript ...

Because I received a coupe of DMs pointing out a bug in this code: in JavaScript “this” is implicitly defined in every function scope. If there is no object attached (function is not a method) it points to the global object (window or globalThis).

There is no bug in this code. ecash fixes it globally.


Author Public Key
npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226