Use this tag for questions about features finalized in ECMAScript 2017.
I'm trying to code a method that show recursively an ActionSheetIOS to select a value contained from arrays and return …
javascript react-native ecmascript-2017In an async function, I can get an asynchronous value like so: const foo = await myAsyncFunction() If I want to …
javascript async-await ecmascript-2017I have create a class in nodejs class ApnService { sendNotification(deviceType, deviceToken, msg, type, id) { try { const note = await apnProvider.…
javascript node.js asynchronous async-await ecmascript-2017I read about async/await, but I've a critical question. At first I explain an old example to show base …
javascript asynchronous async-await ecmascript-2017I have a method which returns a value from an element in the array. Not all the elements have the …
javascript typescript find ecmascript-2017I successfully check user's authentication state with onAuthStateChange observer and redirect user to the Dashboard page (react-native project). However, on …
javascript firebase react-native firebase-realtime-database ecmascript-2017In node.js, I have a database transaction, where I want to call an async method in then callback, but …
javascript node.js async-await ecmascript-2017I know that doing this: const resultA = await a() const resultB = await b() // code here Is effectively a().then( resultA =&…
javascript async-await es6-promise ecmascript-2017I am targeting ES2018 and do not care about ES3 or ES5. From my tsconfig.json: "target": "ES2018". tsc complains: …
javascript typescript ecmascript-2017It is fairly easy to check out the data about browser support for ECMAScript2015 (ES6), but I found it pretty …
javascript ecmascript-7 ecmascript-2017