blob: 56ce4cc7373d7276055a24d5d18e1102010d8f08 [file] [log] [blame]
function shouldBe(actual, expected) {
if (actual !== expected)
throw new Error('bad value: ' + actual);
}
var target = $vm.createCustomTestGetterSetter();
var testObject = { __proto__: target }
var result = {
result: undefined
};
testObject.customValue = result;
shouldBe(result.result, target);