X
點擊此處開啟此網站的行動版。

技術支援討論區

A question. Is there a way that experimental technologies for javascript can be enabled on firefox , firefox developer edition?

已張貼

For example, I tried the pipeline operator |> & it didn't work on either firefox. Isaac

For example, I tried the pipeline operator |> & it didn't work on either firefox. Isaac

由 isaachakobian 於 修改

被選擇的解決方法

Certain experimental features haven't been added to Firefox's Javascript engine. In your example, the pipeline operator hasn't been added to any browser yet because it's still in its very early stages.

You'd need to use a compiler like Babel to convert your experimental code into regular Javascript that can be understood by Firefox.

For example, Babel has a web-based compiler where you can convert your code into regular Javascript.

Hope this helps.

從原來的回覆中察看解決方案 0
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

更多資訊

Wesley Branton
  • Top 10 Contributor
637 個解決方法 5218 個答案

選擇的解決方法

Certain experimental features haven't been added to Firefox's Javascript engine. In your example, the pipeline operator hasn't been added to any browser yet because it's still in its very early stages.

You'd need to use a compiler like Babel to convert your experimental code into regular Javascript that can be understood by Firefox.

For example, Babel has a web-based compiler where you can convert your code into regular Javascript.

Hope this helps.

Certain experimental features haven't been added to Firefox's Javascript engine. In your example, the pipeline operator hasn't been added to any browser yet because it's still in its very early stages. You'd need to use a compiler like [https://babeljs.io/ Babel] to convert your experimental code into regular Javascript that can be understood by Firefox. For example, [https://babeljs.io/repl Babel has a web-based compiler] where you can convert your code into regular Javascript. Hope this helps.
這篇文章有幫助嗎?
引用

提出問題者

Thank you Wesley. I don't know which of the firefox experimental technologies does Babel convert to javascript.

Though it would be nice for firefox developer ed. to do it.

Thank you Wesley. I don't know which of the firefox experimental technologies does Babel convert to javascript. Though it would be nice for firefox developer ed. to do it.
這篇文章有幫助嗎?
引用
Wesley Branton
  • Top 10 Contributor
637 個解決方法 5218 個答案

Firefox Developer Edition isn't hugely different from Firefox Beta. It is a version ahead of the standard Firefox release, which allows you to test future features that are coming to Firefox. It also has a few useful developer tools that you can use. The other big difference is that it runs on it's own profile, so your settings and add-ons in the standard Firefox aren't impacted by what you do in the Firefox DE.

Other than that, it runs off of the same engine as Firefox Beta. The experimental features that you are looking to explore are far too early into the process. For example, the pipeline operator is only in stage 1 (which is just a proposal). Typically, a feature won't be added to the Firefox Javascript engine until the stage 2 (draft) or stage 3 (candidate) area.

Including them into the engine before that point could mean a lot of overhead for the Firefox developers, since experimental features often undergo a lot of changes before they are ready for release.

Firefox Developer Edition isn't hugely different from Firefox Beta. It is a version ahead of the standard Firefox release, which allows you to test future features that are coming to Firefox. It also has a few useful developer tools that you can use. The other big difference is that it runs on it's own profile, so your settings and add-ons in the standard Firefox aren't impacted by what you do in the Firefox DE. Other than that, it runs off of the same engine as Firefox Beta. The experimental features that you are looking to explore are far too early into the process. For example, the pipeline operator is only in stage 1 (which is just a proposal). Typically, a feature won't be added to the Firefox Javascript engine until the stage 2 (draft) or stage 3 (candidate) area. Including them into the engine before that point could mean a lot of overhead for the Firefox developers, since experimental features often undergo a lot of changes before they are ready for release.
這篇文章有幫助嗎?
引用

提出問題者

Thank you Wesley.

Thank you Wesley.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題