OLD | NEW |
| (Empty) |
1 dart_library.library('varargs', null, /* Imports */[ | |
2 'dart_sdk' | |
3 ], function(exports, dart_sdk) { | |
4 'use strict'; | |
5 const core = dart_sdk.core; | |
6 const dart = dart_sdk.dart; | |
7 const dartx = dart_sdk.dartx; | |
8 const varargs = Object.create(null); | |
9 varargs.varargsTest = function(x, ...others) { | |
10 let args = [1, others]; | |
11 dart.dsend(x, 'call', ...args); | |
12 }; | |
13 dart.fn(varargs.varargsTest); | |
14 varargs.varargsTest2 = function(x, ...others) { | |
15 let args = [1, others]; | |
16 dart.dsend(x, 'call', ...args); | |
17 }; | |
18 dart.fn(varargs.varargsTest2); | |
19 // Exports: | |
20 exports.varargs = varargs; | |
21 }); | |
OLD | NEW |