efront 4.0.29 → 4.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -339,7 +339,9 @@ var killdec = function (queue, i, getobjname, _var = 'var', killobj, islet) {
|
|
|
339
339
|
splice(queue, i, 0, { type: EXPRESS, text: tmpname }, { type: STAMP, text: "=" });
|
|
340
340
|
i += 2;
|
|
341
341
|
var i2 = skipAssignment(queue, i);
|
|
342
|
+
var n = queue[i2];
|
|
342
343
|
killobj(queue.slice(i, i = i2));
|
|
344
|
+
if (hasnext) splice(queue, i, 1);
|
|
343
345
|
index++;
|
|
344
346
|
}
|
|
345
347
|
for (var o0 of objs) {
|
|
@@ -9,6 +9,7 @@ assert = function (a, b) {
|
|
|
9
9
|
var innerJs = new Javascript;
|
|
10
10
|
innerJs.defaultType = common.STRAP;
|
|
11
11
|
// 声明及解构
|
|
12
|
+
assert(downLevel(`var [data, args, strs] = breakcode(data, occurs), strs = []`), 'var _ = breakcode(data, occurs), data = _[0], args = _[1], strs = _[2], strs = []\r\nvar _');
|
|
12
13
|
assert(downLevel(`var [name, type, options] = piece, key, repeat;`), 'var name = piece[0], type = piece[1], options = piece[2], key, repeat;');
|
|
13
14
|
assert(downLevel(`var [] = piece, key,[]= repeat;`), 'var key;');
|
|
14
15
|
assert(downLevel(`var [] = piece, key,[]`), 'var key');
|