score:0

const bar = class Foo {};
(new bar()).constructor.name; // 'Foo'

score:4

/* eslint import/no-anonymous-default-export: [2, {"allowArrowFunction": true}] */
export default () => {}

Related Query

More Query from same tag