We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e125949 commit 15a2f08Copy full SHA for 15a2f08
1 file changed
usvm-ts/src/test/resources/samples/arrays/ArrayMethods.ts
@@ -13,13 +13,17 @@ class ArrayMethods {
13
}
14
15
arrayPushIntoNumber(x: number[]) {
16
- x.push(123);
17
- return x;
+ if (x.length == 1) {
+ x.push(123);
18
+ return x;
19
+ }
20
21
22
arrayPushIntoUnknown(x: any[]) {
23
24
25
26
27
28
29
arrayPop(x: boolean) {
0 commit comments