Skip to content

Instantly share code, notes, and snippets.

@spion
Created June 6, 2016 11:34
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 spion/326dc27aa6fca07f4f23b13e89df637e to your computer and use it in GitHub Desktop.
Save spion/326dc27aa6fca07f4f23b13e89df637e to your computer and use it in GitHub Desktop.
{
"type": "ArrowFunctionExpression",
"id": null,
"params": [
{
"type": "Identifier",
"name": "n"
}
],
"defaults": [],
"body": {
"type": "BinaryExpression",
"operator": "==",
"left": {
"type": "MemberExpression",
"computed": false,
"object": {
"type": "Identifier",
"name": "n"
},
"property": {
"type": "Identifier",
"name": "FirstName"
}
},
"right": {
"type": "Identifier",
"name": "localVariable"
}
},
"generator": false,
"expression": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment