Skip to content

Instantly share code, notes, and snippets.

@Jack5079
Last active April 9, 2020 20:52
Show Gist options
  • Select an option

  • Save Jack5079/dfde21986844615ad635a3d2e3ca3a18 to your computer and use it in GitHub Desktop.

Select an option

Save Jack5079/dfde21986844615ad635a3d2e3ca3a18 to your computer and use it in GitHub Desktop.
remove circluar
const removeCirc = obj => Object.fromEntries(Object.entries(obj).filter(([key, val])=>val !== obj))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment