code: function translateDeclarationIntoAssignment(node: Object): Object[] {
    return node.declarations.reduce((acc, declaration) => {
      // Don't translate declaration without initial assignment (e.g. `var a;`)
      if (!declaration.init) {
        return acc;
      }
      acc.push(
        t.expressionStatement(
          t.assignmentExpression("=", declaration.id, declaration.init)
        )
      );
      return acc;
    }, []);
  }
docs: translates new bindings `var a = 3` into `a = 3`.