<commit_before>11.1 Primary Expressions

11.1.1 The this Keyword
this.document; //PASS

11.1.4 Array Initializer
var x = []; //PASS
var x = [1]; //PASS
var x = [1,2]; //PASS

11.1.5 Object Initializer
var x = {}; //PASS
var x = {property: 'value'}; //PASS
var x = {property : 'value', other_property : 'value'}; //PASS

11.1.6 The Grouping Operator
a + (b * c); //FAIL?
(a + b) * c; //PASS

11.2 Left-Hand-Side Expressions
11.2.1 Property Accessors
//------
var object = {};
object['1'] = 'value';
console.log(object[1]);
//------PASS
document.createElement('pre'); //PASS

11.2.2 The new operator
//------
function Car(make, model, year) {
  this.make = make;
  this.model = model;
  this.year = year;
}
var mycar = new Car("Eagle", "<NAME>", 1993);
//------PASS

11.2.3 Function Calls
//------
var square = function(number) { return number * number };
var x = square(4) // x gets the value 16
//------ PASS



11.13 Assigment Operators
11.13.1 Simple Assigment
var x = 1; //PASS

11.13.2 Compound Assigment
var x = 1; x *= 1; //PASS
var x = 1; x /= 1; //PASS
var x = 1; x %= 1; //PASS
var x = 1; x += 1; //PASS
var x = 1; x -= 1; //PASS
var x = 1; x <<= 1; //PASS
var x = 1; x >>= 1; //PASS
var x = 1; x >>>= 1; //PASS
var x = 1; x &= 1; //PASS
var x = 1; x ^= 1; //PASS
var x = 1; x |= 1; //PASS

11.14 Comma Operator
a = b = 3, c = 4; //PASS<commit_msg>more tests added<commit_after>#Expressions

##11.1 Primary Expressions

11.1.1 The this Keyword
this.document; //PASS

11.1.4 Array Initializer
var x = []; //PASS
var x = [1]; //PASS
var x = [1,2]; //PASS
var x = [,]; //PASS

11.1.5 Object Initializer
var x = {}; //PASS
var x = {property: 'value'}; //PASS
var x = {property : 'value', other_property : 'value'}; //PASS

11.1.6 The Grouping Operator
a + (b * c); //FAIL?
(a + b) * c; //PASS

##11.2 Left-Hand-Side Expressions

11.2.1 Property Accessors
//------
var object = {};
object['1'] = 'value';
console.log(object[1]);
//------PASS
document.createElement('pre'); //PASS

11.2.2 The new operator
//------
function Car(make, model, year) {
  this.make = make;
  this.model = model;
  this.year = year;
}
var mycar = new Car("Eagle", "<NAME>", 1993);
//------PASS

11.2.3 Function Calls
//------
var square = function(number) { return number * number };
var x = square(4) // x gets the value 16
//------ PASS

##11.3 Postfix Expressions.

11.3.1 Increment.

var x = 0;
x++;    //PASS

11.3.2 Decrement.

var x = 0;
x--;    //PASS

##11.4 Unary Operators.

11.4.1 Delete Operator

var x;
delete x; //PASS

11.4.2 Void Operator

void x; //PASS

11.4.3 TypeOf Operator.

typeof true; //PASS

##11.5 Multiplicative Operators.(Leo)

##11.6 Additive Operators.

##11.7 Bitwise Shift Operators.

##11.8 Relational Operators.

##11.9 Equality Operators.(Martin)

##11.10 Binary Bitwise Operators.

##11.11 Binary Logical Operators.

##11.12 Conditional Operators.

##11.13 Assignment Operators.(Martin)

11.13.1 Simple Assigment

var x = 1; //PASS

11.13.2 Compound Assigment

var x = 1; x *= 1; //PASS
var x = 1; x /= 1; //PASS
var x = 1; x %= 1; //PASS
var x = 1; x += 1; //PASS
var x = 1; x -= 1; //PASS
var x = 1; x <<= 1; //PASS
var x = 1; x >>= 1; //PASS
var x = 1; x >>>= 1; //PASS
var x = 1; x &= 1; //PASS
var x = 1; x ^= 1; //PASS
var x = 1; x |= 1; //PASS

##11.14 Comma Operators.(Martin)

a = b = 3, c = 4; //PASS
{'fraction_non_alphanumeric': 0.2099729648543106, 'fraction_numerical': 0.0699909882847702, 'mean_word_length': 2.4942287513116472, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, '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': '4206771', 'n_tokens_mistral': 1437, 'n_tokens_neox': 1302, 'n_words': 460}