A negative index between -1.4999999 and 0 will still pick the first element of the array instead of the default value.
Description
Description
Details
Details
- Legacy ID
- 3276592622
- Severity
- None
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
Enter either in debug console:
["one","two","three"] param [([1,2,3] find 5),"not found"]
["one","two","three"] param [ -1 ,"not found"]
-> "one"
It should report "not found", but it doesn't.