Implement new Concept Exercise: Async/Await
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 30/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- javascript
- Domaine
- content
Piste de recherche
Lisez la documentation liée de Concept Exercises et Concepts, puis examinez exercises/concept/bird-watcher et concepts/for-loops comme références structurelles. Définissez le concept et l’exercice async-await autour de async functions, await, promises, error handling et top-level await, avec promises et errors comme prérequis. Le travail est terminé lorsque le contenu du nouveau concept et du nouvel exercice est complet et prêt à être examiné par les maintainers du parcours JavaScript.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- JavaScript
- Étoiles
- 655
- Forks
- 662
- Merge moyen
- 6 h 4 min
- PR mergées (30 j)
- 4
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de exercism/javascript
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
exercism/javascript#2865 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
exercism/javascript#2847 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 42/100
exercism/javascript#2832 ·
-
Building a training set of tags for javascriptPeut-être à nouveau libre @SleeplessByte l’a pris il y a 464 jours, et aucune pull request n’est ouverte. Ouverte
exercism/javascript#2310 · 22 commentaires · 1 personne assignée ·
-
pinned :pushpin:
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 5/100
exercism/javascript#2144 ·
Toutes les issues de exercism/javascript
Issues similaires
-
[dsh-plugin.org | dsh-plugin-hub] plugin distribution incomplete: yjh051108/dsh-routing-suiteOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 71/100
yjh051108/dsh-routing-suite#227 ·
-
needs-triage release-watch
Difficulté 1/5 Moins d'une heure Accessibilité débutants 76/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
dusk-network/exu#17 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
jspreadsheet/ce#1809 ·
-
documentation
Difficulté 1/5 Moins d'une heure Accessibilité débutants 91/100
githubnext/gh-aw-workshop#4458 ·
Les mainteneurs répondent en général sous 1 jour