Last active
March 3, 2016 21:42
-
-
Save designeng/a1778136f71870a57252 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"type": "Program", | |
"body": [ | |
{ | |
"type": "FunctionDeclaration", | |
"id": { | |
"type": "Identifier", | |
"name": "f" | |
}, | |
"params": [ | |
{ | |
"type": "Identifier", | |
"name": "a" | |
}, | |
{ | |
"type": "Identifier", | |
"name": "b" | |
} | |
], | |
"defaults": [], | |
"body": { | |
"type": "BlockStatement", | |
"body": [ | |
{ | |
"type": "ReturnStatement", | |
"argument": { | |
"type": "ObjectExpression", | |
"properties": [ | |
{ | |
"type": "Property", | |
"key": { | |
"type": "Identifier", | |
"name": "specField" | |
}, | |
"computed": false, | |
"value": { | |
"type": "ObjectExpression", | |
"properties": [ | |
{ | |
"type": "Property", | |
"key": { | |
"type": "Identifier", | |
"name": "one" | |
}, | |
"computed": false, | |
"value": { | |
"type": "Literal", | |
"value": 1, | |
"raw": "1" | |
}, | |
"kind": "init", | |
"method": false, | |
"shorthand": false | |
} | |
] | |
}, | |
"kind": "init", | |
"method": false, | |
"shorthand": false | |
} | |
] | |
} | |
} | |
] | |
}, | |
"generator": false, | |
"expression": false | |
} | |
], | |
"sourceType": "script" |
Author
designeng
commented
Mar 3, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment