{
  "type": "Program",
  "body": [
    {
      "type": "ImportDeclaration",
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "local": {
            "type": "Identifier",
            "name": "Str",
            "range": [
              35,
              38
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 7
              },
              "end": {
                "line": 5,
                "column": 10
              }
            }
          },
          "range": [
            35,
            38
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 7
            },
            "end": {
              "line": 5,
              "column": 10
            }
          }
        }
      ],
      "source": {
        "type": "Literal",
        "value": "./string",
        "raw": "'./string'",
        "range": [
          44,
          54
        ],
        "loc": {
          "start": {
            "line": 5,
            "column": 16
          },
          "end": {
            "line": 5,
            "column": 26
          }
        }
      },
      "range": [
        28,
        55
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 27
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Array utilities\n ",
          "range": [
            0,
            26
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 3,
              "column": 3
            }
          }
        }
      ]
    },
    {
      "type": "ExportDefaultDeclaration",
      "declaration": {
        "type": "ObjectExpression",
        "properties": [
          {
            "type": "Property",
            "key": {
              "type": "Identifier",
              "name": "has",
              "range": [
                78,
                81
              ],
              "loc": {
                "start": {
                  "line": 8,
                  "column": 4
                },
                "end": {
                  "line": 8,
                  "column": 7
                }
              }
            },
            "value": {
              "type": "FunctionExpression",
              "id": null,
              "params": [
                {
                  "type": "Identifier",
                  "name": "arr",
                  "range": [
                    92,
                    95
                  ],
                  "loc": {
                    "start": {
                      "line": 8,
                      "column": 18
                    },
                    "end": {
                      "line": 8,
                      "column": 21
                    }
                  }
                },
                {
                  "type": "Identifier",
                  "name": "val",
                  "range": [
                    97,
                    100
                  ],
                  "loc": {
                    "start": {
                      "line": 8,
                      "column": 23
                    },
                    "end": {
                      "line": 8,
                      "column": 26
                    }
                  }
                },
                {
                  "type": "Identifier",
                  "name": "caseSensitive",
                  "range": [
                    102,
                    115
                  ],
                  "loc": {
                    "start": {
                      "line": 8,
                      "column": 28
                    },
                    "end": {
                      "line": 8,
                      "column": 41
                    }
                  }
                }
              ],
              "body": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "VariableDeclaration",
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "id": {
                          "type": "Identifier",
                          "name": "sCase",
                          "range": [
                            130,
                            135
                          ],
                          "loc": {
                            "start": {
                              "line": 9,
                              "column": 12
                            },
                            "end": {
                              "line": 9,
                              "column": 17
                            }
                          }
                        },
                        "init": {
                          "type": "ConditionalExpression",
                          "test": {
                            "type": "BinaryExpression",
                            "operator": "===",
                            "left": {
                              "type": "Identifier",
                              "name": "caseSensitive",
                              "range": [
                                138,
                                151
                              ],
                              "loc": {
                                "start": {
                                  "line": 9,
                                  "column": 20
                                },
                                "end": {
                                  "line": 9,
                                  "column": 33
                                }
                              }
                            },
                            "right": {
                              "type": "Identifier",
                              "name": "undefined",
                              "range": [
                                154,
                                163
                              ],
                              "loc": {
                                "start": {
                                  "line": 9,
                                  "column": 36
                                },
                                "end": {
                                  "line": 9,
                                  "column": 45
                                }
                              }
                            },
                            "range": [
                              138,
                              163
                            ],
                            "loc": {
                              "start": {
                                "line": 9,
                                "column": 20
                              },
                              "end": {
                                "line": 9,
                                "column": 45
                              }
                            }
                          },
                          "consequent": {
                            "type": "Literal",
                            "value": false,
                            "raw": "false",
                            "range": [
                              166,
                              171
                            ],
                            "loc": {
                              "start": {
                                "line": 9,
                                "column": 48
                              },
                              "end": {
                                "line": 9,
                                "column": 53
                              }
                            }
                          },
                          "alternate": {
                            "type": "Identifier",
                            "name": "caseSensitive",
                            "range": [
                              174,
                              187
                            ],
                            "loc": {
                              "start": {
                                "line": 9,
                                "column": 56
                              },
                              "end": {
                                "line": 9,
                                "column": 69
                              }
                            }
                          },
                          "range": [
                            138,
                            187
                          ],
                          "loc": {
                            "start": {
                              "line": 9,
                              "column": 20
                            },
                            "end": {
                              "line": 9,
                              "column": 69
                            }
                          }
                        },
                        "range": [
                          130,
                          187
                        ],
                        "loc": {
                          "start": {
                            "line": 9,
                            "column": 12
                          },
                          "end": {
                            "line": 9,
                            "column": 69
                          }
                        }
                      }
                    ],
                    "kind": "let",
                    "range": [
                      126,
                      188
                    ],
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 8
                      },
                      "end": {
                        "line": 9,
                        "column": 70
                      }
                    }
                  },
                  {
                    "type": "ForStatement",
                    "init": {
                      "type": "VariableDeclaration",
                      "declarations": [
                        {
                          "type": "VariableDeclarator",
                          "id": {
                            "type": "Identifier",
                            "name": "i",
                            "range": [
                              206,
                              207
                            ],
                            "loc": {
                              "start": {
                                "line": 10,
                                "column": 17
                              },
                              "end": {
                                "line": 10,
                                "column": 18
                              }
                            }
                          },
                          "init": {
                            "type": "Literal",
                            "value": 0,
                            "raw": "0",
                            "range": [
                              208,
                              209
                            ],
                            "loc": {
                              "start": {
                                "line": 10,
                                "column": 19
                              },
                              "end": {
                                "line": 10,
                                "column": 20
                              }
                            }
                          },
                          "range": [
                            206,
                            209
                          ],
                          "loc": {
                            "start": {
                              "line": 10,
                              "column": 17
                            },
                            "end": {
                              "line": 10,
                              "column": 20
                            }
                          }
                        }
                      ],
                      "kind": "var",
                      "range": [
                        202,
                        209
                      ],
                      "loc": {
                        "start": {
                          "line": 10,
                          "column": 13
                        },
                        "end": {
                          "line": 10,
                          "column": 20
                        }
                      }
                    },
                    "test": {
                      "type": "BinaryExpression",
                      "operator": "<",
                      "left": {
                        "type": "Identifier",
                        "name": "i",
                        "range": [
                          211,
                          212
                        ],
                        "loc": {
                          "start": {
                            "line": 10,
                            "column": 22
                          },
                          "end": {
                            "line": 10,
                            "column": 23
                          }
                        }
                      },
                      "right": {
                        "type": "MemberExpression",
                        "computed": false,
                        "object": {
                          "type": "Identifier",
                          "name": "arr",
                          "range": [
                            213,
                            216
                          ],
                          "loc": {
                            "start": {
                              "line": 10,
                              "column": 24
                            },
                            "end": {
                              "line": 10,
                              "column": 27
                            }
                          }
                        },
                        "property": {
                          "type": "Identifier",
                          "name": "length",
                          "range": [
                            217,
                            223
                          ],
                          "loc": {
                            "start": {
                              "line": 10,
                              "column": 28
                            },
                            "end": {
                              "line": 10,
                              "column": 34
                            }
                          }
                        },
                        "range": [
                          213,
                          223
                        ],
                        "loc": {
                          "start": {
                            "line": 10,
                            "column": 24
                          },
                          "end": {
                            "line": 10,
                            "column": 34
                          }
                        }
                      },
                      "range": [
                        211,
                        223
                      ],
                      "loc": {
                        "start": {
                          "line": 10,
                          "column": 22
                        },
                        "end": {
                          "line": 10,
                          "column": 34
                        }
                      }
                    },
                    "update": {
                      "type": "UpdateExpression",
                      "operator": "++",
                      "argument": {
                        "type": "Identifier",
                        "name": "i",
                        "range": [
                          225,
                          226
                        ],
                        "loc": {
                          "start": {
                            "line": 10,
                            "column": 36
                          },
                          "end": {
                            "line": 10,
                            "column": 37
                          }
                        }
                      },
                      "prefix": false,
                      "range": [
                        225,
                        228
                      ],
                      "loc": {
                        "start": {
                          "line": 10,
                          "column": 36
                        },
                        "end": {
                          "line": 10,
                          "column": 39
                        }
                      }
                    },
                    "body": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "IfStatement",
                          "test": {
                            "type": "BinaryExpression",
                            "operator": "==",
                            "left": {
                              "type": "CallExpression",
                              "callee": {
                                "type": "MemberExpression",
                                "computed": false,
                                "object": {
                                  "type": "Identifier",
                                  "name": "Str",
                                  "range": [
                                    246,
                                    249
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 15
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 18
                                    }
                                  }
                                },
                                "property": {
                                  "type": "Identifier",
                                  "name": "matchCase",
                                  "range": [
                                    250,
                                    259
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 19
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 28
                                    }
                                  }
                                },
                                "range": [
                                  246,
                                  259
                                ],
                                "loc": {
                                  "start": {
                                    "line": 11,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 11,
                                    "column": 28
                                  }
                                }
                              },
                              "arguments": [
                                {
                                  "type": "CallExpression",
                                  "callee": {
                                    "type": "MemberExpression",
                                    "computed": false,
                                    "object": {
                                      "type": "MemberExpression",
                                      "computed": true,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "arr",
                                        "range": [
                                          260,
                                          263
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 11,
                                            "column": 29
                                          },
                                          "end": {
                                            "line": 11,
                                            "column": 32
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "i",
                                        "range": [
                                          264,
                                          265
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 11,
                                            "column": 33
                                          },
                                          "end": {
                                            "line": 11,
                                            "column": 34
                                          }
                                        }
                                      },
                                      "range": [
                                        260,
                                        266
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 11,
                                          "column": 29
                                        },
                                        "end": {
                                          "line": 11,
                                          "column": 35
                                        }
                                      }
                                    },
                                    "property": {
                                      "type": "Identifier",
                                      "name": "toString",
                                      "range": [
                                        267,
                                        275
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 11,
                                          "column": 36
                                        },
                                        "end": {
                                          "line": 11,
                                          "column": 44
                                        }
                                      }
                                    },
                                    "range": [
                                      260,
                                      275
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 11,
                                        "column": 29
                                      },
                                      "end": {
                                        "line": 11,
                                        "column": 44
                                      }
                                    }
                                  },
                                  "arguments": [],
                                  "range": [
                                    260,
                                    277
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 29
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 46
                                    }
                                  }
                                },
                                {
                                  "type": "Identifier",
                                  "name": "sCase",
                                  "range": [
                                    279,
                                    284
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 11,
                                      "column": 48
                                    },
                                    "end": {
                                      "line": 11,
                                      "column": 53
                                    }
                                  }
                                }
                              ],
                              "range": [
                                246,
                                285
                              ],
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 15
                                },
                                "end": {
                                  "line": 11,
                                  "column": 54
                                }
                              }
                            },
                            "right": {
                              "type": "Identifier",
                              "name": "val",
                              "range": [
                                289,
                                292
                              ],
                              "loc": {
                                "start": {
                                  "line": 11,
                                  "column": 58
                                },
                                "end": {
                                  "line": 11,
                                  "column": 61
                                }
                              }
                            },
                            "range": [
                              246,
                              292
                            ],
                            "loc": {
                              "start": {
                                "line": 11,
                                "column": 15
                              },
                              "end": {
                                "line": 11,
                                "column": 61
                              }
                            }
                          },
                          "consequent": {
                            "type": "BlockStatement",
                            "body": [
                              {
                                "type": "ReturnStatement",
                                "argument": {
                                  "type": "Literal",
                                  "value": true,
                                  "raw": "true",
                                  "range": [
                                    318,
                                    322
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 12,
                                      "column": 23
                                    },
                                    "end": {
                                      "line": 12,
                                      "column": 27
                                    }
                                  }
                                },
                                "range": [
                                  311,
                                  323
                                ],
                                "loc": {
                                  "start": {
                                    "line": 12,
                                    "column": 16
                                  },
                                  "end": {
                                    "line": 12,
                                    "column": 28
                                  }
                                }
                              }
                            ],
                            "range": [
                              293,
                              337
                            ],
                            "loc": {
                              "start": {
                                "line": 11,
                                "column": 62
                              },
                              "end": {
                                "line": 13,
                                "column": 13
                              }
                            }
                          },
                          "alternate": null,
                          "range": [
                            243,
                            337
                          ],
                          "loc": {
                            "start": {
                              "line": 11,
                              "column": 12
                            },
                            "end": {
                              "line": 13,
                              "column": 13
                            }
                          }
                        }
                      ],
                      "range": [
                        229,
                        347
                      ],
                      "loc": {
                        "start": {
                          "line": 10,
                          "column": 40
                        },
                        "end": {
                          "line": 14,
                          "column": 9
                        }
                      }
                    },
                    "range": [
                      197,
                      347
                    ],
                    "loc": {
                      "start": {
                        "line": 10,
                        "column": 8
                      },
                      "end": {
                        "line": 14,
                        "column": 9
                      }
                    }
                  },
                  {
                    "type": "ReturnStatement",
                    "argument": {
                      "type": "Literal",
                      "value": false,
                      "raw": "false",
                      "range": [
                        363,
                        368
                      ],
                      "loc": {
                        "start": {
                          "line": 15,
                          "column": 15
                        },
                        "end": {
                          "line": 15,
                          "column": 20
                        }
                      }
                    },
                    "range": [
                      356,
                      369
                    ],
                    "loc": {
                      "start": {
                        "line": 15,
                        "column": 8
                      },
                      "end": {
                        "line": 15,
                        "column": 21
                      }
                    }
                  }
                ],
                "range": [
                  116,
                  375
                ],
                "loc": {
                  "start": {
                    "line": 8,
                    "column": 42
                  },
                  "end": {
                    "line": 16,
                    "column": 5
                  }
                }
              },
              "generator": false,
              "expression": false,
              "range": [
                83,
                375
              ],
              "loc": {
                "start": {
                  "line": 8,
                  "column": 9
                },
                "end": {
                  "line": 16,
                  "column": 5
                }
              }
            },
            "kind": "init",
            "method": false,
            "shorthand": false,
            "computed": false,
            "range": [
              78,
              375
            ],
            "loc": {
              "start": {
                "line": 8,
                "column": 4
              },
              "end": {
                "line": 16,
                "column": 5
              }
            }
          }
        ],
        "range": [
          72,
          377
        ],
        "loc": {
          "start": {
            "line": 7,
            "column": 15
          },
          "end": {
            "line": 17,
            "column": 1
          }
        },
        "leadingComments": [],
        "trailingComments": []
      },
      "range": [
        57,
        378
      ],
      "loc": {
        "start": {
          "line": 7,
          "column": 0
        },
        "end": {
          "line": 17,
          "column": 2
        }
      }
    }
  ],
  "sourceType": "module",
  "range": [
    28,
    378
  ],
  "loc": {
    "start": {
      "line": 5,
      "column": 0
    },
    "end": {
      "line": 17,
      "column": 2
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * Array utilities\n ",
      "range": [
        0,
        26
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 3
        }
      }
    }
  ]
}