time-space-life-as-we-know-it.html > neighboursOfUrLl

Open
#93 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Locate the article "time-space-life-as-we-know-it" and compare the neighboursOfUrLl example with the issue. Correct the repeated expression and expected output shown there, then verify the rendered article contains the corrected JavaScript snippet.

Written by the indexing model from the issue text.

Description

In your article "time-space-life-as-we-know-it", it seems their is a typo:

const neighboursOfUrLl = (square) => [
    square.ul.ur, square.ur.ul, square.ur.ur, square.ur.lr,
    square.lr.ur, square.lr.ul, square.ll.ur, square.ur.lr //repeated declaration
  ];

neighboursOfUrLl(sq).join('')
  //=> "1237BA97"

Should be:

const neighboursOfUrLl = (square) => [
    square.ul.ur, square.ur.ul, square.ur.ur, square.ur.lr,
    square.lr.ur, square.lr.ul, square.ll.ur, square.ul.lr
];

neighboursOfUrLl(sq).join('')
  //=> "1237BA95"

Btw: amazing article, really great job, thanks a lot!

Dominant language
HTML
Stars
30
Forks
59
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raganwald/raganwald.github.com

All issues in raganwald/raganwald.github.com

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.