J. S. Choi

Results 211 comments of J. S. Choi

> a function can know when it's being called as a decorator, so `Function.once` could take a function, or _also_ be called as a decorator. That’s true. We could distinguish...

`function executeEffect() {} |> Function.once(^)` would not declare `executeEffect` in the current environment—rather, it is an expression of a function named `executeEffect` that gets wrapped in `once` before disappearing. Is...

Alright, thanks. Given that we could use type polymorphism for any future decorator form, let’s ignore decorators for now. We’ve basically got three choices: `ƒ.once`, `Function.once(ƒ)`, and both. `ƒ.once()` is...

Can you elaborate by what you mean by “Object.hasOwn also do the thing alike”? We put functions like hasOwn on the Object constructor, rather than Object.prototype, because changing Object.prototype would...

> Also, afaik almost no sites use the built-in video controls Safari on iPhone, as far as I know, always displays native video controls in full-screen web `` elements, even...

Schema.org isn't necessary to express a decision tree in JSON-LD. All that is required is creating a bunch of new URLs for the relationships you need, putting them into a...

I think this is a fascinating question, but I wonder—if these glosses are essentially a table that flows and wraps, then is there any particular reason why a `` would...

@bogdanbiv: Hi, sorry for the late reply. It's a good idea. I and some other TC39ers have thought about making a pipe playground webpage before, back in the years when...

Adding onto @a-sully’s and @Bodhizafa’s messages, a major use of allowing service workers to create workers could be allowing SWs to create workers that use OPFS. This is a particularly...

@rhashimoto: Thanks for chiming in, and thank you for your work on SQLite on OPFS with FileSystemSyncAccessHandle. I agree that allowing multiple readers/writers would also be useful for multiple tabs...