Quellcode durchsuchen

Update Array.hx (#6084)

minor addition to clarify result is return value
sbijoshj vor 8 Jahren
Ursprung
Commit
fb9606e14a
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      std/Array.hx

+ 2 - 2
std/Array.hx

@@ -153,8 +153,8 @@ extern class Array<T> {
 
 		This operation modifies `this` Array in place.
 
-		If `len` is < 0 or `pos` exceeds `this`.length, the result is the empty
-		Array [].
+		If `len` is < 0 or `pos` exceeds `this`.length, an empty Array [] is 
+		returned and `this` Array is unchanged.
 
 		If `pos` is negative, its value is calculated from the end	of `this`
 		Array by `this.length + pos`. If this yields a negative value, 0 is