Function that log in console the value without altering the value.
import { consoleLogPromise } from '@helpers4/promise'Promise.resolve(42) .then(consoleLogPromise('The answer:'))// => 'The answer:', 42
Optional
prefix the value in console log
Generated using TypeDoc
Function that log in console the value without altering the value.
Example (es module)