Timothy Flynn
8f1f794bbd
LibJS: Change an error message used by %TypedArray%.prototype.with
...
ErrorType::InvalidIndex does not encapsulate the reasons why an index
may be invalid. For example:
let array = new Uint8Array([1, 2, 3, 4, 5]);
array.with(10, 0);
Will currently yield:
[RangeError] Index must be a positive integer
Which is misleading because 10 *is* a positive integer.
2022-12-07 16:43:19 +00:00
..
2022-12-07 16:43:06 +00:00
2022-12-06 08:54:33 +01:00
2022-12-03 23:52:23 +00:00
2022-12-07 16:43:19 +00:00
2022-12-03 23:04:08 +00:00
2022-12-07 16:43:06 +00:00
2022-12-06 08:54:33 +01:00
2022-12-03 15:25:05 +00:00
2022-12-07 16:43:06 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-11-23 16:05:59 +00:00
2022-11-23 16:05:59 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 09:58:38 +00:00
2022-12-07 09:58:38 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 16:43:06 +00:00
2022-11-26 02:23:15 +03:30
2022-12-03 23:52:23 +00:00
2022-11-23 16:05:59 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-11-23 16:05:59 +00:00
2022-11-27 18:28:43 -07:00
2022-12-07 16:43:06 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00