Ruby - Sed
Javascript - Apply
Javascript - Memoization