Unreviewed build fix after r202429; AVStreamDataParser does not exist on iOS.
[WebKit.git] / LayoutTests / js / regress / script-tests / to-number-constructor-only-number.js
1 function test(value)
2 {
3     return Number(value);
4 }
5
6 var result = 0;
7 for (var i = 0; i < 1e4; ++i)
8     result = test(i);
9 if (result !== 9999)
10     throw new Error(`bad result ${result}`);