Write output even if operation returns (promise to) undefined
Modified jshint example to use hidden outputs