// when {
// }
function foo() {
return {
foo: 'bar'
};
}
// when
// {
// }
function bar() {
return
{
foo: 'bar'
}
}
console.log(foo());
console.log(bar());
Ly8gd2hlbiB7Ci8vIH0KZnVuY3Rpb24gZm9vKCkgewoJcmV0dXJuIHsKCQlmb286ICdiYXInCgl9Owp9CgoKLy8gd2hlbgovLyB7Ci8vIH0KZnVuY3Rpb24gYmFyKCkgewoJcmV0dXJuCgl7CgkJZm9vOiAnYmFyJwoJfQp9Cgpjb25zb2xlLmxvZyhmb28oKSk7CmNvbnNvbGUubG9nKGJhcigpKTs=