You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the `isObject` section of the solution, it mentions:
null and undefined are considered Objects
However, it contradicts my observation in the browser console(chrome Version 124.0.6367.119 ). When I used typeof undefined, it actually returns "undefined" rather than"object".
Your GreatFrontEnd account email (optional)
shuheng0127@gmail.com
Problematic section
Type of question
Describe the issue
In the `isObject` section of the solution, it mentions:
However, it contradicts my observation in the browser console(chrome Version 124.0.6367.119 ). When I used
typeof undefined
, it actually returns"undefined"
rather than"object"
.The result also aligns with the documentaion from MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof, which states that
typeof undefined
should return"undefined"
instead of"obejct"
.Screenshots (where relevant)
The text was updated successfully, but these errors were encountered: