Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 05/12/2016
Components: Language, Member Functions
Versions: 2016
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF2016_Final / CF 2018 Final Build
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 1
3844976 fixed .append() member functions to return a useful value for chaining. Same should be done for .prepend().
Repro:
<cfscript>
a = ["b", "c", "d"];
a.prepend("a").each(function(e) {writeOutput(e);});
</cfscript>
Actual behavior: "The each method was not found."
Expected behavior: "abcd"
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4152461
External Customer Info:
External Company:
External Customer Name: Aaron Neff
External Customer Email:
Attachments:
Comments: