1. A system to complete a code snippet to define an object literal, the system comprising: memory; and one or more processors coupled to the memory, the one or more processors configured to: provide a proxy object to a function that is included in code; perform global dynamic analysis by using a getter trap that is included in the proxy object to extract information regarding one or more properties of the object literal from the code, which includes the function; and generate a recommendation that recommends content for completion of the code snippet to define the object literal based at least in part on the information, the content identifying the one or more properties of the object literal.