1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 16:24:59 +00:00
serenity/Libraries/LibJS/Tests
Stephan Unverwerth 520311eb8b LibJS: Add short circuit logical evaluation
When evaluating logical binop expressions, the rhs must not be
evaluated if the lhs leads to the whole expression not being
truthy.
2020-04-03 19:17:52 +02:00
..
array-basic.js LibJS: Rename some tests 2020-03-25 15:57:18 +01:00
Array.prototype.pop.js LibJS: Implement Array.prototype.{shift,pop} 2020-03-28 22:18:11 +01:00
Array.prototype.shift.js LibJS: Implement Array.prototype.{shift,pop} 2020-03-28 22:18:11 +01:00
arrow-functions.js LibJS: Add support for arrow functions 2020-03-30 15:41:36 +02:00
binary-bitwise-operators-basic.js LibJS: Parse binary bitwise operators 2020-04-03 14:10:09 +02:00
constructor-basic.js LibJS: Implement basic support for the "new" keyword 2020-03-28 16:33:52 +01:00
Date.now.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getDate.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getDay.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getFullYear.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getHours.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getMilliseconds.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getMinutes.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getMonth.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getSeconds.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Date.prototype.getTime.js LibJS: Start implementing Date :^) 2020-03-30 14:11:54 +02:00
Error.js LibJS: Implement Error function/constructor 2020-04-01 20:47:37 +02:00
Error.prototype.toString.js LibJS: Implement Error.prototype.toString() 2020-04-03 09:07:05 +02:00
exception-ReferenceError.js LibJS: Add a tiny little test for the ReferenceError exception 2020-03-28 10:27:48 +01:00
for-basic.js LibJS: Handle "for" statements with empty initializer and updater 2020-03-25 16:14:51 +01:00
function-missing-arg.js LibJS: Allow function calls with missing arguments 2020-03-27 12:56:05 +01:00
function-this-in-arguments.js LibJS: Evaluate CallExpression arguments before pushing a CallFrame 2020-04-02 08:50:28 +02:00
function-TypeError.js LibJS: Implement constructor/non-constructor function calls 2020-04-01 20:18:36 +02:00
Infinity-basic.js LibJS: Implement Infinity 2020-04-02 21:52:15 +02:00
instanceof-basic.js LibJS: Oops, "instanceof" was backwards! 2020-03-28 19:48:12 +01:00
logical-expressions-basic.js LibJS: Fix logical expressions 2020-04-03 16:32:36 +02:00
logical-expressions-short-circuit.js LibJS: Add short circuit logical evaluation 2020-04-03 19:17:52 +02:00
Math-constants.js LibJS: Add tests for Math constants 2020-03-29 17:35:08 +02:00
Math.abs.js LibJS: Implement unary plus / minus 2020-04-02 19:55:45 +02:00
NaN-basic.js LibJS: Implement Infinity 2020-04-02 21:52:15 +02:00
Object.getOwnPropertyNames.js LibJS: Implement Object.getOwnPropertyNames() 2020-03-29 01:26:57 +01:00
Object.getPrototypeOf.js LibJS: Add a global "Object" constructor 2020-03-28 17:23:54 +01:00
Object.prototype.hasOwnProperty.js LibJS: Add a very basic test runner (shell script) + some tests 2020-03-25 15:32:17 +01:00
Object.prototype.js LibJS: Add a global "Object" constructor 2020-03-28 17:23:54 +01:00
Object.prototype.toString.js LibJS: Object::put() shouldn't create own properties on prototype chain 2020-04-02 21:36:14 +02:00
parser-unary-associativity.js LibJS: Implement unary plus / minus 2020-04-02 19:55:45 +02:00
run-tests LibJS: Tweak run-tests output a bit 2020-03-25 15:52:17 +01:00
String.prototype.charAt.js LibJS: Add a very basic test runner (shell script) + some tests 2020-03-25 15:32:17 +01:00
String.prototype.startsWith.js LibJS: Implement unary plus / minus 2020-04-02 19:55:45 +02:00
switch-basic-2.js LibJS: Implement basic execution of "switch" statements 2020-03-29 15:03:58 +02:00
switch-basic-3.js LibJS: Implement basic execution of "switch" statements 2020-03-29 15:03:58 +02:00
switch-basic.js LibJS: Implement basic execution of "switch" statements 2020-03-29 15:03:58 +02:00
ternary-basic.js LibJS: Implement ConditionalExpression (ternary "?:" operator) 2020-04-03 12:15:14 +02:00
throw-basic.js LibJS: Add a basic test for the "throw" keyword 2020-03-25 16:09:23 +01:00
to-number-basic.js LibJS: Implement unary plus / minus 2020-04-02 19:55:45 +02:00
typeof-basic.js LibJS: Rename some tests 2020-03-25 15:57:18 +01:00
variable-undefined.js LibJS: Allow function calls with missing arguments 2020-03-27 12:56:05 +01:00