LearnNewsExamplesServices
Frontmatter
id5386
titleNeo.isObject() => make the logic more specific
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 10, 2024, 5:31 PM
updatedAtApr 10, 2024, 5:32 PM
githubUrlhttps://github.com/neomjs/neo/issues/5386
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 10, 2024, 5:32 PM

Neo.isObject() => make the logic more specific

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 10, 2024, 5:31 PM

i just ran into an edge case where Neo.isObject() returned true for new Intl.DateTimeFormat().

classes extending object should be considered as a false return value.

tobiu added the enhancement label on Apr 10, 2024, 5:31 PM
tobiu assigned to @tobiu on Apr 10, 2024, 5:31 PM
tobiu referenced in commit 1f794ae - "Neo.isObject() => make the logic more specific #5386" on Apr 10, 2024, 5:32 PM
tobiu closed this issue on Apr 10, 2024, 5:32 PM