Diogo Franco (Kovensky) 31b85a36dd Add fixture for known bug
2016-12-16 11:25:42 +09:00

6 lines
204 B
JavaScript

// I don't know if this is a bug with arrow-functions spec: true
// or with function-name, but the functions are missing their names.
const x = () => x;
const y = x => x();
const z = { z: () => y(x) }.z;