// SPDX-FileCopyrightText: 2014 Samsung Electronics Co., Ltd.
// SPDX-License-Identifier: Apache-2.0

object = {
  valueOf: function () {
    return 1
  },
  toString: function () {
    return 0
  }
}
assert(1 + object === 2)