{
  "type": "File",
  "start": 0,
  "end": 350,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 12,
      "column": 0
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 350,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 12,
        "column": 0
      }
    },
    "sourceType": "module",
    "body": [
      {
        "type": "ExportNamedDeclaration",
        "start": 244,
        "end": 349,
        "loc": {
          "start": {
            "line": 9,
            "column": 0
          },
          "end": {
            "line": 11,
            "column": 1
          }
        },
        "specifiers": [],
        "source": null,
        "declaration": {
          "type": "VariableDeclaration",
          "start": 251,
          "end": 349,
          "loc": {
            "start": {
              "line": 9,
              "column": 7
            },
            "end": {
              "line": 11,
              "column": 1
            }
          },
          "declarations": [
            {
              "type": "VariableDeclarator",
              "start": 255,
              "end": 349,
              "loc": {
                "start": {
                  "line": 9,
                  "column": 11
                },
                "end": {
                  "line": 11,
                  "column": 1
                }
              },
              "id": {
                "type": "Identifier",
                "start": 255,
                "end": 261,
                "loc": {
                  "start": {
                    "line": 9,
                    "column": 11
                  },
                  "end": {
                    "line": 9,
                    "column": 17
                  },
                  "identifierName": "approx"
                },
                "name": "approx",
                "leadingComments": null
              },
              "init": {
                "type": "ArrowFunctionExpression",
                "start": 264,
                "end": 349,
                "loc": {
                  "start": {
                    "line": 9,
                    "column": 20
                  },
                  "end": {
                    "line": 11,
                    "column": 1
                  }
                },
                "id": {
                  "type": "Identifier",
                  "start": 255,
                  "end": 261,
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 11
                    },
                    "end": {
                      "line": 9,
                      "column": 17
                    },
                    "identifierName": "approx"
                  },
                  "name": "approx",
                  "leadingComments": null
                },
                "generator": false,
                "expression": false,
                "async": false,
                "params": [
                  {
                    "type": "Identifier",
                    "start": 266,
                    "end": 269,
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 22
                      },
                      "end": {
                        "line": 9,
                        "column": 25
                      },
                      "identifierName": "num"
                    },
                    "name": "num"
                  },
                  {
                    "type": "Identifier",
                    "start": 271,
                    "end": 279,
                    "loc": {
                      "start": {
                        "line": 9,
                        "column": 27
                      },
                      "end": {
                        "line": 9,
                        "column": 35
                      },
                      "identifierName": "decimals"
                    },
                    "name": "decimals"
                  }
                ],
                "body": {
                  "type": "BlockStatement",
                  "start": 285,
                  "end": 349,
                  "loc": {
                    "start": {
                      "line": 9,
                      "column": 41
                    },
                    "end": {
                      "line": 11,
                      "column": 1
                    }
                  },
                  "body": [
                    {
                      "type": "ReturnStatement",
                      "start": 289,
                      "end": 347,
                      "loc": {
                        "start": {
                          "line": 10,
                          "column": 2
                        },
                        "end": {
                          "line": 10,
                          "column": 60
                        }
                      },
                      "argument": {
                        "type": "CallExpression",
                        "start": 296,
                        "end": 347,
                        "loc": {
                          "start": {
                            "line": 10,
                            "column": 9
                          },
                          "end": {
                            "line": 10,
                            "column": 60
                          }
                        },
                        "callee": {
                          "type": "Identifier",
                          "start": 296,
                          "end": 306,
                          "loc": {
                            "start": {
                              "line": 10,
                              "column": 9
                            },
                            "end": {
                              "line": 10,
                              "column": 19
                            },
                            "identifierName": "parseFloat"
                          },
                          "name": "parseFloat"
                        },
                        "arguments": [
                          {
                            "type": "CallExpression",
                            "start": 308,
                            "end": 345,
                            "loc": {
                              "start": {
                                "line": 10,
                                "column": 21
                              },
                              "end": {
                                "line": 10,
                                "column": 58
                              }
                            },
                            "callee": {
                              "type": "MemberExpression",
                              "start": 308,
                              "end": 333,
                              "loc": {
                                "start": {
                                  "line": 10,
                                  "column": 21
                                },
                                "end": {
                                  "line": 10,
                                  "column": 46
                                }
                              },
                              "object": {
                                "type": "CallExpression",
                                "start": 308,
                                "end": 325,
                                "loc": {
                                  "start": {
                                    "line": 10,
                                    "column": 21
                                  },
                                  "end": {
                                    "line": 10,
                                    "column": 38
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 308,
                                  "end": 318,
                                  "loc": {
                                    "start": {
                                      "line": 10,
                                      "column": 21
                                    },
                                    "end": {
                                      "line": 10,
                                      "column": 31
                                    },
                                    "identifierName": "parseFloat"
                                  },
                                  "name": "parseFloat"
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "start": 320,
                                    "end": 323,
                                    "loc": {
                                      "start": {
                                        "line": 10,
                                        "column": 33
                                      },
                                      "end": {
                                        "line": 10,
                                        "column": 36
                                      },
                                      "identifierName": "num"
                                    },
                                    "name": "num"
                                  }
                                ]
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 326,
                                "end": 333,
                                "loc": {
                                  "start": {
                                    "line": 10,
                                    "column": 39
                                  },
                                  "end": {
                                    "line": 10,
                                    "column": 46
                                  },
                                  "identifierName": "toFixed"
                                },
                                "name": "toFixed"
                              },
                              "computed": false
                            },
                            "arguments": [
                              {
                                "type": "Identifier",
                                "start": 335,
                                "end": 343,
                                "loc": {
                                  "start": {
                                    "line": 10,
                                    "column": 48
                                  },
                                  "end": {
                                    "line": 10,
                                    "column": 56
                                  },
                                  "identifierName": "decimals"
                                },
                                "name": "decimals"
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ],
                  "directives": []
                }
              },
              "leadingComments": null
            }
          ],
          "kind": "let",
          "leadingComments": [
            {
              "type": "CommentBlock",
              "value": "*\n * Used to approximate a number to a certain number of decimals\n * @param {Numeric} num The number to be approximated\n * @param {Numeric} decimals The number of decimals to approximate to\n * @return {Numeric} A new number\n ",
              "start": 14,
              "end": 243,
              "loc": {
                "start": {
                  "line": 3,
                  "column": 0
                },
                "end": {
                  "line": 8,
                  "column": 3
                }
              }
            }
          ],
          "trailingComments": []
        },
        "leadingComments": [
          {
            "type": "CommentBlock",
            "value": "*\n * Used to approximate a number to a certain number of decimals\n * @param {Numeric} num The number to be approximated\n * @param {Numeric} decimals The number of decimals to approximate to\n * @return {Numeric} A new number\n ",
            "start": 14,
            "end": 243,
            "loc": {
              "start": {
                "line": 3,
                "column": 0
              },
              "end": {
                "line": 8,
                "column": 3
              }
            }
          }
        ]
      }
    ],
    "directives": [
      {
        "type": "Directive",
        "start": 0,
        "end": 12,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 12
          }
        },
        "value": {
          "type": "DirectiveLiteral",
          "start": 0,
          "end": 12,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 1,
              "column": 12
            }
          },
          "value": "use strict",
          "extra": {
            "raw": "'use strict'",
            "rawValue": "use strict"
          },
          "trailingComments": null
        },
        "trailingComments": [
          {
            "type": "CommentBlock",
            "value": "*\n * Used to approximate a number to a certain number of decimals\n * @param {Numeric} num The number to be approximated\n * @param {Numeric} decimals The number of decimals to approximate to\n * @return {Numeric} A new number\n ",
            "start": 14,
            "end": 243,
            "loc": {
              "start": {
                "line": 3,
                "column": 0
              },
              "end": {
                "line": 8,
                "column": 3
              }
            }
          }
        ]
      }
    ]
  },
  "comments": [
    {
      "type": "CommentBlock",
      "value": "*\n * Used to approximate a number to a certain number of decimals\n * @param {Numeric} num The number to be approximated\n * @param {Numeric} decimals The number of decimals to approximate to\n * @return {Numeric} A new number\n ",
      "start": 14,
      "end": 243,
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 8,
          "column": 3
        }
      }
    }
  ],
  "tokens": [
    {
      "type": {
        "label": "string",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "use strict",
      "start": 0,
      "end": 12,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 12
        }
      }
    },
    {
      "type": "CommentBlock",
      "value": "*\n * Used to approximate a number to a certain number of decimals\n * @param {Numeric} num The number to be approximated\n * @param {Numeric} decimals The number of decimals to approximate to\n * @return {Numeric} A new number\n ",
      "start": 14,
      "end": 243,
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 8,
          "column": 3
        }
      }
    },
    {
      "type": {
        "label": "export",
        "keyword": "export",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "export",
      "start": 244,
      "end": 250,
      "loc": {
        "start": {
          "line": 9,
          "column": 0
        },
        "end": {
          "line": 9,
          "column": 6
        }
      }
    },
    {
      "type": {
        "label": "let",
        "keyword": "let",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "let",
      "start": 251,
      "end": 254,
      "loc": {
        "start": {
          "line": 9,
          "column": 7
        },
        "end": {
          "line": 9,
          "column": 10
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "approx",
      "start": 255,
      "end": 261,
      "loc": {
        "start": {
          "line": 9,
          "column": 11
        },
        "end": {
          "line": 9,
          "column": 17
        }
      }
    },
    {
      "type": {
        "label": "=",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": true,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "=",
      "start": 262,
      "end": 263,
      "loc": {
        "start": {
          "line": 9,
          "column": 18
        },
        "end": {
          "line": 9,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 264,
      "end": 265,
      "loc": {
        "start": {
          "line": 9,
          "column": 20
        },
        "end": {
          "line": 9,
          "column": 21
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "num",
      "start": 266,
      "end": 269,
      "loc": {
        "start": {
          "line": 9,
          "column": 22
        },
        "end": {
          "line": 9,
          "column": 25
        }
      }
    },
    {
      "type": {
        "label": ",",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 269,
      "end": 270,
      "loc": {
        "start": {
          "line": 9,
          "column": 25
        },
        "end": {
          "line": 9,
          "column": 26
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "decimals",
      "start": 271,
      "end": 279,
      "loc": {
        "start": {
          "line": 9,
          "column": 27
        },
        "end": {
          "line": 9,
          "column": 35
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 280,
      "end": 281,
      "loc": {
        "start": {
          "line": 9,
          "column": 36
        },
        "end": {
          "line": 9,
          "column": 37
        }
      }
    },
    {
      "type": {
        "label": "=>",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 282,
      "end": 284,
      "loc": {
        "start": {
          "line": 9,
          "column": 38
        },
        "end": {
          "line": 9,
          "column": 40
        }
      }
    },
    {
      "type": {
        "label": "{",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 285,
      "end": 286,
      "loc": {
        "start": {
          "line": 9,
          "column": 41
        },
        "end": {
          "line": 9,
          "column": 42
        }
      }
    },
    {
      "type": {
        "label": "return",
        "keyword": "return",
        "beforeExpr": true,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "value": "return",
      "start": 289,
      "end": 295,
      "loc": {
        "start": {
          "line": 10,
          "column": 2
        },
        "end": {
          "line": 10,
          "column": 8
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "parseFloat",
      "start": 296,
      "end": 306,
      "loc": {
        "start": {
          "line": 10,
          "column": 9
        },
        "end": {
          "line": 10,
          "column": 19
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 306,
      "end": 307,
      "loc": {
        "start": {
          "line": 10,
          "column": 19
        },
        "end": {
          "line": 10,
          "column": 20
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "parseFloat",
      "start": 308,
      "end": 318,
      "loc": {
        "start": {
          "line": 10,
          "column": 21
        },
        "end": {
          "line": 10,
          "column": 31
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 318,
      "end": 319,
      "loc": {
        "start": {
          "line": 10,
          "column": 31
        },
        "end": {
          "line": 10,
          "column": 32
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "num",
      "start": 320,
      "end": 323,
      "loc": {
        "start": {
          "line": 10,
          "column": 33
        },
        "end": {
          "line": 10,
          "column": 36
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 324,
      "end": 325,
      "loc": {
        "start": {
          "line": 10,
          "column": 37
        },
        "end": {
          "line": 10,
          "column": 38
        }
      }
    },
    {
      "type": {
        "label": ".",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 325,
      "end": 326,
      "loc": {
        "start": {
          "line": 10,
          "column": 38
        },
        "end": {
          "line": 10,
          "column": 39
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "toFixed",
      "start": 326,
      "end": 333,
      "loc": {
        "start": {
          "line": 10,
          "column": 39
        },
        "end": {
          "line": 10,
          "column": 46
        }
      }
    },
    {
      "type": {
        "label": "(",
        "beforeExpr": true,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 333,
      "end": 334,
      "loc": {
        "start": {
          "line": 10,
          "column": 46
        },
        "end": {
          "line": 10,
          "column": 47
        }
      }
    },
    {
      "type": {
        "label": "name",
        "beforeExpr": false,
        "startsExpr": true,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "value": "decimals",
      "start": 335,
      "end": 343,
      "loc": {
        "start": {
          "line": 10,
          "column": 48
        },
        "end": {
          "line": 10,
          "column": 56
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 344,
      "end": 345,
      "loc": {
        "start": {
          "line": 10,
          "column": 57
        },
        "end": {
          "line": 10,
          "column": 58
        }
      }
    },
    {
      "type": {
        "label": ")",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 346,
      "end": 347,
      "loc": {
        "start": {
          "line": 10,
          "column": 59
        },
        "end": {
          "line": 10,
          "column": 60
        }
      }
    },
    {
      "type": {
        "label": "}",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null
      },
      "start": 348,
      "end": 349,
      "loc": {
        "start": {
          "line": 11,
          "column": 0
        },
        "end": {
          "line": 11,
          "column": 1
        }
      }
    },
    {
      "type": {
        "label": "eof",
        "beforeExpr": false,
        "startsExpr": false,
        "rightAssociative": false,
        "isLoop": false,
        "isAssign": false,
        "prefix": false,
        "postfix": false,
        "binop": null,
        "updateContext": null
      },
      "start": 350,
      "end": 350,
      "loc": {
        "start": {
          "line": 12,
          "column": 0
        },
        "end": {
          "line": 12,
          "column": 0
        }
      }
    }
  ]
}