diff options
Diffstat (limited to 'js/src/Ice/AsyncResultBase.js')
-rw-r--r-- | js/src/Ice/AsyncResultBase.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/Ice/AsyncResultBase.js b/js/src/Ice/AsyncResultBase.js index e0dc8d63496..41aba896d10 100644 --- a/js/src/Ice/AsyncResultBase.js +++ b/js/src/Ice/AsyncResultBase.js @@ -10,7 +10,7 @@ class AsyncResultBase extends Ice.Promise { super(); this._communicator = communicator; - this._instance = communicator !== null ? communicator.instance : null; + this._instance = communicator ? communicator.instance : null; this._operation = op; this._connection = connection; this._proxy = proxy; |