Pure function as String prototype
Write a pure `pipefy` function where a string received is returned, but with the `|` character between each character
JavaScript
String.prototype.pipefy = function() {
return this.split('').join('|');
}
String.prototype.pipefy = function() {
return this.split('').join('|');
}