DEV Community

Discussion on: Cancellable async functions in JavaScript

Collapse
 
simevidas profile image
Šime Vidas

When I read nonce, my first thought was a library for that, but no, just new Object() 😄

Collapse
 
samthor profile image
Sam Thorogood

Ever-increasing numbers also works but I think an arbitrary Object makes the most sense :)