[fix] instanceof check can be transformed to just a `this` check as we use strict mode