Status/Resolution/Reason: Open//
Reporter/Name(from Bugbase): Mark B. / ()
Created: 04/10/2020
Components: Language, Member Functions
Versions: 2018
Failure Type:
Found In Build/Fixed In Build: update 8 /
Priority/Frequency: Normal /
Locale/System: / Platforms All
Vote Count: 0
Problem Description:
The member function "find()" does not work when executed against a literal array.
Steps to Reproduce:
["apples", "oranges", "bananas"].find("oranges")
Actual Result:
An error is thrown
Expected Result:
I would expect to get back the value "2"
Any Workarounds:
var fruits = ["apples", "oranges", "bananas"];
fruits.find("oranges")
Attachments:
Comments: