jkchao/typescript-book-chinese

something || (something = {})

Closed this issue · 0 comments

(function(something) {
something.foo = 123;
})(something || (something = {}));

‘something || (something = {})’ 这写法不会报错吗?something都没有声明