Skip to content

Instantly share code, notes, and snippets.

@chankruze
Created April 10, 2022 15:19
Show Gist options
  • Save chankruze/ba9012788721178cb03426918b4bb6d4 to your computer and use it in GitHub Desktop.
Save chankruze/ba9012788721178cb03426918b4bb6d4 to your computer and use it in GitHub Desktop.

Using JS, convert:

[ "OR", ["<", "a", "b"], [ "AND", ["==", "c", "d"], ["!=", "e", "f"] ] ]
// To:
a < b OR (c == d AND e != f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment