mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
2nd and 3rd argument evaluation of Array.prototype.copyWithin can change the length of the array as a side-effect. But ES11 spec says that the algorithm should use the original length. In this case it could happen that the underlying buffer should be extended. Fixes #4204 JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác csaba.osztrogonac@h-lab.eu