Timeline for How do I check if an object has a specific property in JavaScript?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 7, 2023 at 5:33 | comment | added | davidhadas | "x in obj" is the only evaluated option that checks the prototype chain | |
Mar 3, 2023 at 17:39 | comment | added | Gerard ONeill | Your middle paragraph implies that "IF (x in obj)" is good for checking the prototype chain, but your second to last paragraph implies that it checks the chain and is faster. So is "syntax" the only reason to use (x in obj)? | |
Dec 31, 2020 at 10:28 | history | edited | davidhadas | CC BY-SA 4.0 |
added 1 character in body
|
Oct 6, 2020 at 16:13 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading [<https://en.wikipedia.org/wiki/Node.js>]. Removed meta information (this belongs in comments). Limited the output to three signicant figures (more are definitely not warranted) and converted to a single number (seconds).
|
Jan 24, 2017 at 10:07 | history | edited | davidhadas | CC BY-SA 3.0 |
added 217 characters in body
|
Dec 16, 2016 at 12:53 | history | edited | davidhadas | CC BY-SA 3.0 |
added 230 characters in body
|
Dec 16, 2016 at 12:42 | history | answered | davidhadas | CC BY-SA 3.0 |