UNPKG

babel-preset-latest-node

Version:

babel preset latest for node 14 (Current), node 12 (Active LTS) node 10 (Maintenance LTS)

21 lines (16 loc) 210 B
'use strict'; exports.presetOptions = { target: '10', }; exports.actual = ` try { throw new Error(); } catch { } `; exports.expected = ` "use strict"; try { throw new Error(); } catch (_unused) {} `;