3 lines
103 B
JavaScript
3 lines
103 B
JavaScript
|
export default function initLog(prefix) {
|
||
|
return string => console.log(`${prefix} >>> ${string}`)
|
||
|
}
|