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
[dart:js_interop] Clean up documentation on static vs runtime guarantees
- Make clear that you shouldn't do equality checks between a
Dart and JS value.
- Make clear you shouldn't use `is` with JS types.
- Remove mention of `as`, as that *may* be okay but is also the
only way to properly cast.
CoreLibraryReviewExempt: Doc-only change.
Change-Id: Ie4a8f22f9c44d740ddeddab55981475f0168d25e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/434760
Reviewed-by: Ömer Ağacan <[email protected]>
Commit-Queue: Srujan Gaddam <[email protected]>
0 commit comments