enums icon indicating copy to clipboard operation
enums copied to clipboard

Fix contains() for undefined argument

Open l8nite opened this issue 13 years ago • 1 comments

myEnum.contains(undefined) would throw an exception rather than return false, because the ! operator binds more tightly than instanceof

l8nite avatar Oct 26 '12 06:10 l8nite

Ping?

l8nite avatar Aug 06 '15 21:08 l8nite