mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
494 B
Diff
14 lines
494 B
Diff
--- old.instanceofOnInstantiationExpression.js
|
|
+++ new.instanceofOnInstantiationExpression.js
|
|
@@= skipped -21, +21 lines =@@
|
|
//// [instanceofOnInstantiationExpression.js]
|
|
"use strict";
|
|
maybeBox instanceof Box; // OK
|
|
-maybeBox instanceof (Box); // error
|
|
+maybeBox instanceof Box; // error
|
|
maybeBox instanceof (Box); // error
|
|
maybeBox instanceof ((Box)); // error
|
|
-(Box) instanceof Object; // OK
|
|
+Box instanceof Object; // OK
|
|
(Box) instanceof Object; // OK
|
|
((Box)) instanceof Object; // OK
|