Implement new Concept Exercise: Async/Await
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 30/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript
- Bereich
- content
Rechercherichtung
Lies die verlinkten Dokumentationen zu Concept Exercises und Concepts und untersuche anschließend exercises/concept/bird-watcher und concepts/for-loops als strukturelle Referenzen. Definiere das Konzept und die Übung async-await rund um async functions, await, promises, error handling und top-level await, wobei promises und errors Voraussetzungen sind. Erledigt bedeutet, dass die Inhalte für das neue Konzept und die neue Übung vollständig und bereit zur Prüfung durch die Maintainer des JavaScript-Track sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Goal
The goal here is to create a new concept exercise and a new concept from scratch.
Getting started
Here you can read about what Concept Exercises are and how they are structured:
If you have not done so yet, it is probably also helpful to do a couple of "Learning Exercises" (this is how they are called on the site) yourself. You can also look at the code of an existing concept exercise like bird-watcher (concept for-loops) for reference.
Concepts
The following concept needs to be created. You can use the introduction.md file of the concept also as introduction.md file of the exercise. No need to create different content at this point. Additionally, if you want to save some time it is ok to not have an extensive about.md at this point. It can also be mainly the instruction.md content, maybe with some additions you would like to make.
async-await
Learning Objectives
In the concepts the student should learn about the following topics and then practice them in the concept exercise.
- Async functions
- Await
- Relation to promises
- Error handling with try/catch/finally
- Top level await (incl. a note that it might not yet be available in all environments)
Out of Scope
- Repeating details about promises
Prerequisites
The following concepts should be assumed and defined as prerequisites for the new exercise:
promiseserrors
Resources
Here some links that might be helpful as a starting point:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await
- https://javascript.info/async-await
Help
You can choose to do this solo-style, or collaborate with multiple people on this. The suggested approach is to
- First accept this issue by saying "I'd like to work on this" (no need to wait for a response, just go with it) and optionally request that someone works with you (and wait for a second person to accept your request).
- Use this issue to discuss any questions you have, what should be included in the content and what not and to collect reference material.
- Create a PR and set "exercism/javascript" as reviewers. Additionally you can write in #maintaining-javascript that your PR is ready for review. Once you incorporated any critical feedback that the reviewer might give you and the PR is approved, it will be merged by a maintainer.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 655
- Forks
- 662
- Ø Merge
- 6 Std. 4 Min.
- Gemergte PRs (30 T.)
- 4
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus exercism/javascript
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
exercism/javascript#2865 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
exercism/javascript#2847 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 42/100
exercism/javascript#2832 ·
-
Building a training set of tags for javascriptEvtl. wieder frei @SleeplessByte hat das vor 463 Tagen übernommen, und es ist kein Pull Request offen. Offen
exercism/javascript#2310 · 22 Kommentare · 1 zugewiesene Person ·
-
pinned :pushpin:
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 5/100
exercism/javascript#2144 ·
Alle Issues in exercism/javascript
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
capricorn86/happy-dom#2485 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 Unter einer Stunde Anfängerfreundlichkeit 74/100
siyuan-note/siyuan#20429 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
yjh051108/dsh-routing-suite#216 ·
-
[Bug] Completion info popup (.cm-completionInfo) ignores the configured editor fontEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug user-priority/P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
t8y2/dbx#11718 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag