What is Beta Freecodecamp com

Freecodecamp: [Beta] ES6 section: some missing tests and titles, text needs to be formatted

FreeCodeCamp Issue Template

Name of the challenge


This is a common issue to keep track of some QA tasks for the ES6 section.

Error Description


The challenges in section ES6 are all listed below. Anyone can benefit from some formatting changes in the challenge copy. Also, the challenge titles should follow the [verb] [object clause] format used elsewhere (for example, "Use conditional logic with if statements" or "Comment JavaScript code"), and two challenges are missing titles. There are a number of wildcard test challenges that must be written.

  • Investigate problems with the var keyword

    • [x] Formatting corrections

    • Add [] test to ensure the keyword is used instead of

  • Compare the areas of var and drop keywords

    • [x] Formatting corrections

    • [] Temporarily deactivated ES6 syntax test

  • Declare a read-only variable with the const keyword

    • [x] Formatting corrections

    • [] Write missing tests

  • Mutate an array declared with const

    • [x] Formatting corrections

    • [] Write missing tests

  • Use arrow functions to write precisely anonymous functions

    • [x] Formatting corrections

    • [] Write missing tests

  • Write arrow functions with parameters

    • [x] Formatting corrections

    • [] Write missing tests

  • Write higher order arrow functions

    • [x] Formatting corrections

    • [] Write missing tests

  • Set default parameters for your functions

    • [x] Formatting corrections

    • [] Write a missing test

  • Use the rest operator with function parameters

    • [x] add title (suggested title: use the remainder operator with function parameters)

    • [x] Formatting corrections

  • Use the spread operator to evaluate existing arrays

    • [x] Formatting corrections

    • [] Write missing tests

  • Use Destructuring Assignment to assign variables from objects

    • [x] Add title

    • [x] Formatting corrections

    • [] Write missing tests

  • Use Destructuring Assignment to assign variables from nested objects

    • [x] Formatting corrections

    • [] Write missing tests

  • Use Destructuring Assignment to assign variables from arrays

    • [x] Formatting corrections

    • [] Write missing tests

  • Use Destructuring Assignment with the Rest operator to reassign array elements

    • [x] Formatting corrections

    • [] Write missing tests

  • Use Destructuring Assignment to pass an object as a parameter to a function

    • [x] Formatting corrections

    • [] Write missing tests

  • Interpolate a string with backquotes

    • [] Formatting corrections

    • [] Write missing tests

  • Write concise object literal declarations using simple fields

    • [] Formatting corrections

    • [] Write missing tests

  • Write precise declarative functions with ES6

    • [x] Formatting corrections

    • [] Write missing tests

  • Use class syntax to define a constructor function

    • [x] Formatting corrections

    • [] Write missing tests

  • Use getters and setters to control access to an object

    • [x] Formatting corrections

    • [] Write missing tests

  • Understand the differences between import and request

    • [x] Formatting corrections

  • Use the export to reuse a block of code

    • [x] Formatting corrections

  • Use * to import everything from a file

    • [x] Formatting corrections

  • Create an export fallback with export standard

    • [x] Formatting corrections

  • Import standard export

    • [x] Formatting corrections

Suggested formatting for the challenge copy:

  • Any JS keywords, operators or method names, etc. should be in tags. This will put the term in pink text (or green in night mode). The first instance of a term that is being defined can be contained in tags
  • Examples of multi-line codes should be contained in tags, with the lines separated by the tag. See this example in the code base.
  • Replace the "Instructions" line with a single tag (it should be on its own line in the seed file).
  • Notes use the format

One person doesn't need to make all of these changes. Comment below which challenges you would like to work on (UPDATE: Given some issues with writing tests using Regex for these challenges listed below, it's fine if all you want to work on is correcting the formatting). After the PR is accepted, you can check off what was done. Many Thanks!

help wantedlearnready for QA