harbor run -t openthoughts/tasktrove-exp-rpt-stack-jest-v2-stack-jest-0033harbor download openthoughts/tasktrove-exp-rpt-stack-jest-v2-stack-jest-0033Task: Implement a self-contained JavaScript module at /app/ that demonstrates core function concepts by exporting a small API. The module should be compatible with CommonJS requires and be usable by tests that expect the behaviors described below.
What to implement (exported API and behavior):
add
getMessage and overrideMessage (demonstrate outer vs internal variables)
lexicalDemo (demonstrate lexical scoping with nested functions)
makeMysteryFunction (demonstrate closures)
Extra function arguments handling
Functions as values (object with function properties)
File and placement:
Implementation notes:
Example usage (for reference in test design):
Deliverable: