Skip to content

Instantly share code, notes, and snippets.

@NishuGoel
Created December 21, 2019 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NishuGoel/46beea3d9e698848d5b172d413143aaa to your computer and use it in GitHub Desktop.
Save NishuGoel/46beea3d9e698848d5b172d413143aaa to your computer and use it in GitHub Desktop.
Object.keys(containee).every(key => containee[key] === container[key]);
//changed to
Object.keys(containee).every(key => equalArraysOrString(container[key], containee[key]));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment