<commit_before># Reading JavaScript

## Basic Literal Types

_**`null`- null or empty value: no object value is present. "Intentionally empty". One of the six primative data types.**_

```
insert example here
```

_**`Boolean` - a value that can be one of two things: true or false. One of the six primative data types.**_

```
insert example here
```

_**`number` - numeric data value. One of the six primative data types.**_

```
insert example here
```

#### `String` - a sequence of characters used to represent text. One of the six primative data types.

```
insert example here
```

## Special Constants

#### `Infinity` - a numeric value representing infinity, specifically positive infinity.

```
insert example here
```

#### `NaN` - Not-A-Number: represents undefined value or a value that can not be represented.

```
insert example here
```

#### `undefined` - indicates that a variable has not yet been assigned a value. One of the six primative data types.

```
insert example here
```

## Basic Operators

### Arithmetic

#### `+` - Addition: produces the sum of numeric operands. 

```
x + y
```

#### `-` - Subtraction: produces the difference of numeric operands.  

```
x - y
``` 

#### `*` - Multiplication: produces the product of two operands. 

```
x * y
```

#### `/` - Division: produces the quotient of numeric operands. The left operand is the dividend and the right operand is the divisor. 

```
x / y
``` 


### Comparison
* `==` - is equal to
* `!=` - not equal to
* `<` - less than
* `>` - greater than
* `<=` - less than or equal to
* `>=` - greater than or equal to


### Assignment
* `var` - identifier
* `=` - is assigned
* `+=` - addition assignment ```` x+=y // yeilds x = x + y ````
* `|` - or

## Functions

For help with functions click [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions).

### Definition

A function represents a set of statements that performs a procedure or calculates a value. 

```
insert example here
```
<commit_msg>Update javascript.md<commit_after># Reading JavaScript

## Basic Literal Types

_**`null`- null or empty value: no object value is present. "Intentionally empty". One of the six primative data types.**_

```
insert example here
```

_**`Boolean` - a value that can be one of two things: true or false. One of the six primative data types.**_

```
insert example here
```

_**`number` - numeric data value. One of the six primative data types.**_

```
insert example here
```

_**`String` - a sequence of characters used to represent text. One of the six primative data types.**_

```
insert example here
```

## Special Constants

_**`Infinity` - a numeric value representing infinity, specifically positive infinity.**_

```
insert example here
```

_**`NaN` - Not-A-Number: represents undefined value or a value that can not be represented.**_

```
insert example here
```

_**`undefined` - indicates that a variable has not yet been assigned a value. One of the six primative data types.**_

```
insert example here
```

## Basic Operators

### Arithmetic

_**`+` - Addition: produces the sum of numeric operands.**_

```
x + y
```

_**`-` - Subtraction: produces the difference of numeric operands.**_ 

```
x - y
``` 

_**`*` - Multiplication: produces the product of two operands.**_

```
x * y
```

_**`/` - Division: produces the quotient of numeric operands. The left operand is the dividend and the right operand is the divisor.**_

```
x / y
``` 


### Comparison

_**`==` - is equal to**_

```
insert example here
```

_**`!=` - not equal to**_

```
insert example here
```

_**`<` - less than**_

```
insert example here
```

_**`>` - greater than**_

```
insert example here
```

_**`<=` - less than or equal to**_

```
insert example here
```

_**`>=` - greater than or equal to**_

```
insert example here
```


### Assignment

_**`var` - identifier**_

```
insert example here
```

_**`=` - is assigned**_

```
insert example here
```

_**`+=` - addition assignment**_ 

``` 
x+=y // yeilds x = x + y 
```

_**`|` - or**_

```
insert example here
```

## Functions

For help with functions click [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions).

### Definition

A function represents a set of statements that performs a procedure or calculates a value. 

```
insert example here
```

{'fraction_non_alphanumeric': 0.15599078341013825, 'fraction_numerical': 0.0, 'mean_word_length': 3.6427807486631014, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1831761', 'n_tokens_mistral': 1411, 'n_tokens_neox': 1277, 'n_words': 524}