Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

v7.1

Compare
Choose a tag to compare
@sergeysova sergeysova released this 03 May 21:12
· 5 commits to master since this release
9fdd5f6

v7.0.0...v7.1.0

Allow underscore to mark variables as unused

const { omit: _omit, ...rest } = getOptions()
function foo(_unused, used) { return used + 1 }
try {
  just()
  return true
} catch(_error) {
  return false
}

Allow use variables before define

To read code from up to bottom

const a = () => b() + c()
const b = () => 1
const c = () => 2