You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
281 B

'use strict';
function x () {
return 'foo';
}
var foo = { x };
function x$1 () {
return 'bar';
}
var bar = { x: x$1 };
function x$2 () {
return 'baz';
}
var baz = { x: x$2 };
assert.equal( foo.x(), 'foo' );
assert.equal( bar.x(), 'bar' );
assert.equal( baz.x(), 'baz' );