diff options
author | Linus Groh <mail@linusgroh.de> | 2020-12-02 12:41:51 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-02 23:49:00 +0100 |
commit | 6de4f1fcb382fa7c9b2d2c4c3dc69085575cbe82 (patch) | |
tree | 81b19950bdb28fc7fc1e876c548ea5a5ab03c762 /Libraries/LibLine/KeyCallbackMachine.h | |
parent | 5e08ae4e14009d40ecd5f5428c6801eaeeffd125 (diff) | |
download | serenity-6de4f1fcb382fa7c9b2d2c4c3dc69085575cbe82.zip |
LibJS: Add generic InvalidLength error type
We have multiple array types now, so ArrayInvalidLength has been
replaced with a generic InvalidLength.
Also fixes a small issue in the Array constructor, it should throw
RangeError for invalid lengths, not TypeError.
Diffstat (limited to 'Libraries/LibLine/KeyCallbackMachine.h')
0 files changed, 0 insertions, 0 deletions