Files
kotlin-fork/js/js.translator/testData/box/native/equalsMangling.js
T
2016-12-09 12:04:31 +03:00

10 lines
213 B
JavaScript
Vendored

function foo(first, second) {
return first.equals(second);
}
function B(value) {
this.value = value;
}
B.prototype.equals = function(other) {
return other instanceof B && other.value == this.value;
};