const LOGIN = Symbol("event.login")
// succeeded, as expected
const W = Symbol("event.login");
// I expected this to say something like 'a symbol with this key already exists'
LOGIN === W
// false
Created
June 25, 2018 08:21
-
-
Save amysimmons/999cd91e61cc9f56e9ba23ce292e343d to your computer and use it in GitHub Desktop.