←back to thread

13 points javatuts | 1 comments | | HN request time: 0.214s | source
Show context
fud101 ◴[] No.45844312[source]
how long til it's in the browser for these?
replies(2): >>45845426 #>>45845617 #
1. petercooper ◴[] No.45845617[source]
Potentially never. Despite what the article says, pattern matching is not in ES2025 and is still at stage 1 of TC39 so it could be a couple years to never. The pipe operator is at stage 2 and not in the ES2025 spec.

That said, with transpilation/Babel/etc. you could in theory be using some of these features right now (e.g. `@babel/plugin-proposal-pipeline-operator`).

The original article here is terrible, clearly not written by anyone with a clue and potentially even by an LLM.