Skip to content

Wrong test for JavaScript comments challenge #17619

@mpmaan

Description

@mpmaan

Describe your problem and - if possible - how to reproduce it

The test requires a multi-line comment of the form /* */. However, the test fails if additional * characters are present at the beginning or the end of the text contained within the comment.
Some examples :

   // this works
   /* this works too */
   /* *this won't work */
   /* this :( fails too **/

The regular expression for the corresponding test needs to be updated.

Add a Link to the page with the problem

https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/comment-your-javascript-code

Tell us about your browser and operating system

  • Browser Name: Google Chrome
  • Browser Version: 60+
  • Operating System: Ubuntu 18.04

If possible, add a screenshot here

screenshot from 2018-06-18 18-24-42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions