Open Muhammad-Altabba opened 10 months ago
yes. you are right. browsers support es6. es6+ are not fully supported.
Moving it to backlog as internally created issue, and we can discuss it in backlog grooming call
same issue
@mconnelly8
Hi, any news? I have same error.
Expected behavior
web3.min.js
has syntax compatible withes6
.Actual behavior
The minified build (
web3.min.js
) contains the syntax?.
which is called Optional Chaining (https://2ality.com/2019/07/optional-chaining.html), that is es2020 which is far from es6 (ES2015).Steps to reproduce the behavior
Check: https://github.com/web3/web3.js/issues/6472#issuecomment-1754098689
Logs
Environment
https://github.com/jasonhtpham/react-boilerplate