Javascript Luky numbers documentation has a speling error

The result of te conversion of the array on the documentation is:
// => ‘42,true,abc’

and should be:
// => ‘42,null,true,abc’

JavaScript key concepts on Exercism

File that need asjustment:
[javascript/exercises/concept/lucky-numbers/.docs/ at main · exercism/javascript · GitHub]


The documentation notes that null values are converted to an empty string, not the string ‘null’. That’s in line with the code snippet and its result as shown.

1 Like