2014-07-13 01:04:16 +02:00
|
|
|
//// [lambdaExpression.ts]
|
|
|
|
() => 0; // Needs to be wrapped in parens to be a valid expression (not declaration)
|
|
|
|
var y = 0;
|
|
|
|
(()=>0);
|
|
|
|
var x = 0;
|
|
|
|
|
|
|
|
|
|
|
|
//// [lambdaExpression.js]
|
2014-08-16 00:49:09 +02:00
|
|
|
(function () { return 0; }); // Needs to be wrapped in parens to be a valid expression (not declaration)
|
2014-07-13 01:04:16 +02:00
|
|
|
var y = 0;
|
|
|
|
(function () { return 0; });
|
|
|
|
var x = 0;
|