{
  "type": "Program",
  "statements": [
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSUndefinedKeyword",
              "loc": {
                "start": {
                  "line": 17,
                  "column": 8,
                  "program": "undefined_as_value.ts"
                },
                "end": {
                  "line": 17,
                  "column": 17,
                  "program": "undefined_as_value.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 17,
                "column": 5,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 17,
                "column": 6,
                "program": "undefined_as_value.ts"
              }
            }
          },
          "init": {
            "type": "Identifier",
            "name": "undefined",
            "loc": {
              "start": {
                "line": 17,
                "column": 20,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 17,
                "column": 29,
                "program": "undefined_as_value.ts"
              }
            }
          },
          "loc": {
            "start": {
              "line": 17,
              "column": 5,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 17,
              "column": 29,
              "program": "undefined_as_value.ts"
            }
          }
        }
      ],
      "kind": "let",
      "loc": {
        "start": {
          "line": 17,
          "column": 1,
          "program": "undefined_as_value.ts"
        },
        "end": {
          "line": 17,
          "column": 30,
          "program": "undefined_as_value.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "b",
            "typeAnnotation": {
              "type": "TSArrayType",
              "elementType": {
                "type": "TSUndefinedKeyword",
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 8,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 18,
                    "column": 17,
                    "program": "undefined_as_value.ts"
                  }
                }
              },
              "annotations": [],
              "loc": {
                "start": {
                  "line": 18,
                  "column": 8,
                  "program": "undefined_as_value.ts"
                },
                "end": {
                  "line": 18,
                  "column": 19,
                  "program": "undefined_as_value.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 18,
                "column": 5,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 18,
                "column": 6,
                "program": "undefined_as_value.ts"
              }
            }
          },
          "init": {
            "type": "ArrayExpression",
            "elements": [
              {
                "type": "Identifier",
                "name": "undefined",
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 23,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 18,
                    "column": 32,
                    "program": "undefined_as_value.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "undefined",
                "loc": {
                  "start": {
                    "line": 18,
                    "column": 34,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 18,
                    "column": 43,
                    "program": "undefined_as_value.ts"
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 18,
                "column": 22,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 18,
                "column": 44,
                "program": "undefined_as_value.ts"
              }
            }
          },
          "loc": {
            "start": {
              "line": 18,
              "column": 5,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 18,
              "column": 44,
              "program": "undefined_as_value.ts"
            }
          }
        }
      ],
      "kind": "let",
      "loc": {
        "start": {
          "line": 18,
          "column": 1,
          "program": "undefined_as_value.ts"
        },
        "end": {
          "line": 18,
          "column": 45,
          "program": "undefined_as_value.ts"
        }
      }
    },
    {
      "type": "VariableDeclaration",
      "declarations": [
        {
          "type": "VariableDeclarator",
          "id": {
            "type": "Identifier",
            "name": "c",
            "loc": {
              "start": {
                "line": 19,
                "column": 5,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 19,
                "column": 6,
                "program": "undefined_as_value.ts"
              }
            }
          },
          "init": {
            "type": "ArrayExpression",
            "elements": [
              {
                "type": "Identifier",
                "name": "undefined",
                "loc": {
                  "start": {
                    "line": 19,
                    "column": 10,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 19,
                    "column": 19,
                    "program": "undefined_as_value.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "undefined",
                "loc": {
                  "start": {
                    "line": 19,
                    "column": 21,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 19,
                    "column": 30,
                    "program": "undefined_as_value.ts"
                  }
                }
              },
              {
                "type": "Identifier",
                "name": "undefined",
                "loc": {
                  "start": {
                    "line": 19,
                    "column": 32,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 19,
                    "column": 41,
                    "program": "undefined_as_value.ts"
                  }
                }
              }
            ],
            "loc": {
              "start": {
                "line": 19,
                "column": 9,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 19,
                "column": 42,
                "program": "undefined_as_value.ts"
              }
            }
          },
          "loc": {
            "start": {
              "line": 19,
              "column": 5,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 19,
              "column": 42,
              "program": "undefined_as_value.ts"
            }
          }
        }
      ],
      "kind": "let",
      "loc": {
        "start": {
          "line": 19,
          "column": 1,
          "program": "undefined_as_value.ts"
        },
        "end": {
          "line": 19,
          "column": 43,
          "program": "undefined_as_value.ts"
        }
      }
    },
    {
      "type": "FunctionDeclaration",
      "function": {
        "type": "ScriptFunction",
        "id": {
          "type": "Identifier",
          "name": "foo",
          "loc": {
            "start": {
              "line": 21,
              "column": 10,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 21,
              "column": 13,
              "program": "undefined_as_value.ts"
            }
          }
        },
        "generator": false,
        "async": false,
        "expression": false,
        "params": [
          {
            "type": "Identifier",
            "name": "a",
            "typeAnnotation": {
              "type": "TSUndefinedKeyword",
              "loc": {
                "start": {
                  "line": 21,
                  "column": 17,
                  "program": "undefined_as_value.ts"
                },
                "end": {
                  "line": 21,
                  "column": 26,
                  "program": "undefined_as_value.ts"
                }
              }
            },
            "loc": {
              "start": {
                "line": 21,
                "column": 14,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 21,
                "column": 15,
                "program": "undefined_as_value.ts"
              }
            }
          }
        ],
        "returnType": {
          "type": "TSUndefinedKeyword",
          "loc": {
            "start": {
              "line": 21,
              "column": 30,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 21,
              "column": 39,
              "program": "undefined_as_value.ts"
            }
          }
        },
        "body": {
          "type": "BlockStatement",
          "statements": [
            {
              "type": "ReturnStatement",
              "argument": {
                "type": "Identifier",
                "name": "undefined",
                "loc": {
                  "start": {
                    "line": 22,
                    "column": 10,
                    "program": "undefined_as_value.ts"
                  },
                  "end": {
                    "line": 22,
                    "column": 19,
                    "program": "undefined_as_value.ts"
                  }
                }
              },
              "loc": {
                "start": {
                  "line": 22,
                  "column": 3,
                  "program": "undefined_as_value.ts"
                },
                "end": {
                  "line": 22,
                  "column": 20,
                  "program": "undefined_as_value.ts"
                }
              }
            }
          ],
          "loc": {
            "start": {
              "line": 21,
              "column": 40,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 23,
              "column": 2,
              "program": "undefined_as_value.ts"
            }
          }
        },
        "loc": {
          "start": {
            "line": 21,
            "column": 1,
            "program": "undefined_as_value.ts"
          },
          "end": {
            "line": 23,
            "column": 2,
            "program": "undefined_as_value.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 21,
          "column": 1,
          "program": "undefined_as_value.ts"
        },
        "end": {
          "line": 23,
          "column": 2,
          "program": "undefined_as_value.ts"
        }
      }
    },
    {
      "type": "ExpressionStatement",
      "expression": {
        "type": "CallExpression",
        "callee": {
          "type": "Identifier",
          "name": "foo",
          "loc": {
            "start": {
              "line": 25,
              "column": 1,
              "program": "undefined_as_value.ts"
            },
            "end": {
              "line": 25,
              "column": 4,
              "program": "undefined_as_value.ts"
            }
          }
        },
        "arguments": [
          {
            "type": "Identifier",
            "name": "undefined",
            "loc": {
              "start": {
                "line": 25,
                "column": 5,
                "program": "undefined_as_value.ts"
              },
              "end": {
                "line": 25,
                "column": 14,
                "program": "undefined_as_value.ts"
              }
            }
          }
        ],
        "optional": false,
        "loc": {
          "start": {
            "line": 25,
            "column": 1,
            "program": "undefined_as_value.ts"
          },
          "end": {
            "line": 25,
            "column": 15,
            "program": "undefined_as_value.ts"
          }
        }
      },
      "loc": {
        "start": {
          "line": 25,
          "column": 1,
          "program": "undefined_as_value.ts"
        },
        "end": {
          "line": 25,
          "column": 16,
          "program": "undefined_as_value.ts"
        }
      }
    }
  ],
  "loc": {
    "start": {
      "line": 1,
      "column": 1,
      "program": "undefined_as_value.ts"
    },
    "end": {
      "line": 26,
      "column": 1,
      "program": "undefined_as_value.ts"
    }
  }
}
