{
  "type": "File",
  "start":0,"end":51,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":31}},
  "errors": [
    "SyntaxError: In strict mode code, functions can only be declared at top level or inside a block (2:10)",
    "SyntaxError: Export 'encrypt' is not defined (1:9)"
  ],
  "program": {
    "type": "Program",
    "start":0,"end":51,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":31}},
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "ExportNamedDeclaration",
        "start":0,"end":19,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}},
        "specifiers": [
          {
            "type": "ExportSpecifier",
            "start":9,"end":16,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16}},
            "local": {
              "type": "Identifier",
              "start":9,"end":16,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16},"identifierName":"encrypt"},
              "name": "encrypt"
            },
            "exported": {
              "type": "Identifier",
              "start":9,"end":16,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":16},"identifierName":"encrypt"},
              "name": "encrypt"
            }
          }
        ],
        "source": null,
        "declaration": null
      },
      {
        "type": "IfStatement",
        "start":20,"end":51,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":31}},
        "test": {
          "type": "BooleanLiteral",
          "start":24,"end":28,"loc":{"start":{"line":2,"column":4},"end":{"line":2,"column":8}},
          "value": true
        },
        "consequent": {
          "type": "FunctionDeclaration",
          "start":30,"end":51,"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":31}},
          "id": {
            "type": "Identifier",
            "start":39,"end":46,"loc":{"start":{"line":2,"column":19},"end":{"line":2,"column":26},"identifierName":"encrypt"},
            "name": "encrypt"
          },
          "generator": false,
          "async": false,
          "params": [],
          "body": {
            "type": "BlockStatement",
            "start":49,"end":51,"loc":{"start":{"line":2,"column":29},"end":{"line":2,"column":31}},
            "body": [],
            "directives": []
          }
        },
        "alternate": null
      }
    ],
    "directives": []
  }
}