mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Test:o.x = o.x || {} assignments in JS
This commit is contained in:
1 parent
2f8c237270
commit
7e3fdc29fa
1 file changed
+9
-4
@@ -10,8 +10,13 @@ var my = my || {};
|
||||
my.m = function() {
|
||||
return 1;
|
||||
}
|
||||
my.p = {};
|
||||
my.n = 1;
|
||||
my.m
|
||||
my.p
|
||||
my.n
|
||||
my.o = {};
|
||||
my.possible = my.possible || {};
|
||||
|
||||
my.m;
|
||||
my.o;
|
||||
my.n;
|
||||
my.possible;
|
||||
|
||||
|
||||
Reference in new issue
Block a user