<commit_before># JavaScript 1.7 keywords
keywords = [
    "break",
    "case", "catch", "const", "continue",
    "debugger", "default", "delete", "do",
    "else",
    "false", "finally", "for", "function",
    "if", "in", "instanceof",
    "let",
    "new", "null",
    "return",
    "switch",
    "this", "throw", "true", "try", "typeof",
    "var", "void",
    "yield",
    "while", "with"
]

# By Mozilla MDC
# https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Statements#Exception_Types
ecmaExceptions = ["Error", "EvalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"]
domExceptions = ["DOMException", "EventException", "RangeException"]

#
# Small list of globally allowed values
globalObjects = ["Math","Error","String","Array","Object","Function","RegExp"]
globalFunctions = ["window","document","parseInt","parseFloat"]<commit_msg>Cleanup legacy stuff<commit_after># JavaScript 1.7 keywords
keywords = [
    "break",
    "case", "catch", "const", "continue",
    "debugger", "default", "delete", "do",
    "else",
    "false", "finally", "for", "function",
    "if", "in", "instanceof",
    "let",
    "new", "null",
    "return",
    "switch",
    "this", "throw", "true", "try", "typeof",
    "var", "void",
    "yield",
    "while", "with"
]
{'fraction_non_alphanumeric': 0.22523219814241485, 'fraction_numerical': 0.0046439628482972135, 'mean_word_length': 4.410041841004184, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7214788', 'n_tokens_mistral': 440, 'n_tokens_neox': 428, 'n_words': 101}