jed_fox1’s avatarjed_fox1’s Twitter Archive — № 1,154

  1. …in reply to @kateinoigakukun
    @kateinoigakukun I think it’s reasonable to have JSValue as an enum, since there are a bunch of APIs that allow you to use the value without having to worry about new cases being added in the future, and it’s useful to be able to guarantee you’re handling all possible values when you do want that