JavaScript/Closures/Exercises

Topic: Closure

1. Write a script that creates a parameterizable function. It accepts a string that 'decorates' logging information with the given parameter. E.g.:. The script shall internally use a closure.