<commit_before>---
date: '2016-10-14 20:44 +0200'
published: true
title: ''
category:
  - js
---
JS ignores spaces that appear between tokens in programs. For the most part JS also ignores line breaks.

In addition to the regular space character (\u0020) JS also recognizes tab (\u0009), and any other Unicode cat Zs as whitespace. JS recognizes the following characters as line terminators:

* line feed (\u000A)
* carriage return (\u000D)
* line separator (\u2028)
* paragraph separator (\u2029)
<commit_msg>Created 2016-10-14-your-filename.md<commit_after>---
date: '2016-10-14 20:44 +0200'
published: true
title: JS - Whitespace Line breaks and Format control characters
category:
  - js
---
JS ignores spaces that appear between tokens in programs. For the most part JS also ignores line breaks.

In addition to the regular space character (\u0020) JS also recognizes tab (\u0009), and any other Unicode cat Zs as whitespace. JS recognizes the following characters as line terminators:

* line feed (\u000A)
* carriage return (\u000D)
* line separator (\u2028)
* paragraph separator (\u2029)

{'fraction_non_alphanumeric': 0.09298085688240657, 'fraction_numerical': 0.07657247037374658, 'mean_word_length': 4.179245283018868, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '909092', 'n_tokens_mistral': 376, 'n_tokens_neox': 305, 'n_words': 147}