examples/const.js
function declarationImpliesInitialisation(variable, scope) {
  return variable.name === "arguments" && scope.type === ScopeType.FUNCTION ||
    variable.declarations.some(decl =>
      decl.type === DeclarationType.PARAMETER ||
      decl.type === DeclarationType.FUNCTION_NAME ||
      decl.type === DeclarationType.CATCH
    );
}
function declarationImpliesInitialisation(variable, scope) {
  return variable.name === "arguments" && scope.type === ScopeType.FUNCTION ||
    variable.declarations.some(decl =>
      decl.type === DeclarationType.PARAMETER ||
      decl.type === DeclarationType.FUNCTION_NAME ||
      decl.type === DeclarationType.CATCH
    );
}
function declarationImpliesInitialisation ( variable , scope ) { return variable . name === "arguments" && scope . type === ScopeType . FUNCTION || variable . declarations . some ( decl => decl . type === DeclarationType . PARAMETER || decl . type === DeclarationType . FUNCTION_NAME || decl . type === DeclarationType . CATCH ) ; }
determine if a variable has an implicit initial value
determine if a variable has an implicit initial value