# Diff Two Arrays problem in basic javascript

**URL:** <https://forum.freecodecamp.org/t/diff-two-arrays-problem-in-basic-javascript/487836>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [December 7, 2021, 12:21am UTC](https://forum.freecodecamp.org/t/diff-two-arrays-problem-in-basic-javascript/487836 "2021-12-07T00:21:51Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [December 7, 2021, 1:17am UTC](https://forum.freecodecamp.org/t/diff-two-arrays-problem-in-basic-javascript/487836/3 "2021-12-07T01:17:35Z")

</div>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

_[View the full topic](https://forum.freecodecamp.org/t/diff-two-arrays-problem-in-basic-javascript/487836)._
