-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontriaged
Description
We currently have a case where we call __proto__
to determine if the object is a plain JS object:
Use of __proto__ should be replaced by
Object.getPrototypeOf(#)`. Or maybe we can use the object runtime metadata to determine its type?
See more information in dart-lang/sdk#52372
webdev/dwds/lib/src/debugging/inspector.dart
Line 219 in 2b2ae0e
if (!(this.__proto__)) { return 'Instance of PlainJavaScriptObject';} |
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ontriaged