#### JerryScript revision
2.4.0

#### Build platform
ubuntu 20.04

#### Description
When I run the Test case , I find that jerryscript has no output. But if I set the loop number smaller than 174296, it can output correctly. Is it because that the number has reached to the maximum allowed String length in jerryscript? I wonder why the jerry outputs nothing.

#### Test case
var a = 'A';
var b = 'B';
for (var i = 0; i < 174296; i++) {
    a = a + b;
}
print(a.length);


#### Output


#### Expected behavior
174297

A problem in String length
This is a GitHub Issue
repo:jerryscript
owner:jerryscript-project
Title : A problem in String length
Issue date:

--- start body ---
#### JerryScript revision
2.4.0

#### Build platform
ubuntu 20.04

#### Description
When I run the Test case , I find that jerryscript has no output. But if I set the loop number smaller than 174296, it can output correctly. Is it because that the number has reached to the maximum allowed String length in jerryscript? I wonder why the jerry outputs nothing.

#### Test case
var a = 'A';
var b = 'B';
for (var i = 0; i < 174296; i++) {
    a = a + b;
}
print(a.length);


#### Output


#### Expected behavior
174297

--- end body ---

The issue described does not indicate a security vulnerability but rather a potential limitation or bug in the handling of string lengths in JerryScript. The user is experiencing a lack of output when exceeding a certain string length, which suggests a possible performance issue or a bug in the implementation rather than a security flaw.