mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
316 B
Diff
11 lines
316 B
Diff
--- old.fatarrowfunctionsErrors.js
|
|
+++ new.fatarrowfunctionsErrors.js
|
|
@@= skipped -16, +16 lines =@@
|
|
//// [fatarrowfunctionsErrors.js]
|
|
"use strict";
|
|
foo((...Far) => { return 0; });
|
|
-foo((1), { return: 0 });
|
|
+foo((1), { return: 0, });
|
|
foo((x) => { return x; });
|
|
foo((x = 0) => { return x; });
|
|
var y = x, number;
|