A simple function composition example in javascript
This example demonstrates function composition in JavaScript, showing how two unary functions combine into a single pipeline. It defines a `Composition` utility that takes functions `f` and `g`, returning a new function that applies `f` first, then `g`, to an input value. The code uses plain JavaScript functions with `console.log` for tracing, and concrete functions `double` and `triple` to illustrate the flow. The composed result processes the input `10` through both steps, producing a final output. The data source is a hardcoded numeric constant, with no external libraries or rendering involved.