Hacker News new | ask | show | jobs
by koito17 260 days ago
Since this library leverages Symbol.toPrimitive, you may also use operators besides bitwise-OR. Additionally, the library does not seem to dispatch on the `hint` parameter[0]. Now I want to open a JS REPL, try placing this library's pipe object into string template literals, and see what happens.

Overall, cool library.

[0] https://tc39.es/ecma262/multipage/abstract-operations.html#s...

1 comments

what are your ideas regarding the pipe object in string template literals? I'm just looking for an overview to see if it sparks some ideas.