Replies: 1 comment 2 replies
-
| 
         Sadly we don't get even allow full ES6 constructors in JS libraries, at least no in general.     IIRC we do still have some folks who target very old embedded browsers and they still want to be able to target, for example, ES5!    I believe such folks use  For more info on the transition to ES5 to ES6 see #11984  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I consider improving things in Emscripten JS.
But I see promises everywhere.
Nowadays, async/await are supported everywhere, can I use them instead of
Promise? Please.I have a solid argument: browsers/platforms that don't support async/await also don't have WASM.
So there won't be compatibility problems.
Beta Was this translation helpful? Give feedback.
All reactions