4 ms·
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
by koito17 1y 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#sec-toprimitive https://tc39.es/ecma262/multipage/abstract-operations.html#s...
- bryanrasmussen 1y agowhat 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.