Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
8 events
when toggle format what by license comment
Dec 12, 2021 at 2:37 history edited Penny Liu CC BY-SA 4.0
added 8 characters in body
Apr 6, 2021 at 17:57 history edited David Dehghan CC BY-SA 4.0
deleted 5 characters in body
S Aug 26, 2020 at 6:14 history suggested nruth CC BY-SA 4.0
differentiate between constructor equivalence and throwing a string vs error object
Aug 26, 2020 at 1:27 comment added nruth "throw and throw Error will are functionally equivalent" – not really. One throws a string, which things like Bugsnag will complain about because it can't get a stacktrace from them. Do you mean functionally as in it'll stop the code running, or that it'll throw something? Either way they're semantically different?
Aug 26, 2020 at 1:26 review Suggested edits
S Aug 26, 2020 at 6:14
Aug 24, 2020 at 7:34 history edited David Dehghan CC BY-SA 4.0
added 352 characters in body
Aug 24, 2020 at 1:49 comment added Ala Eddine Menai What about this : throw 'message' is it the same ?
May 24, 2019 at 18:50 history answered David Dehghan CC BY-SA 4.0