Lambda Function Using For Loop In Javascript Format Money