harbor run -t openthoughts/tasktrove-exp-rpt-stack-jest-large-stack-jest-0353harbor download openthoughts/tasktrove-exp-rpt-stack-jest-large-stack-jest-0353Task description:
Implement a lodash-like function rearg that reorders the arguments passed to a function based on specified index mappings, and place the implementation in /app/.
Required functionality
Example usage (for reference)
Your task is to implement /app/rearg.js with the described behavior and ensure it matches the test expectations implied by the provided test suite.