+3

Return console command output back to the console.

John Kramlich hace 13 años 0
When executing arbitrary Javascript that returns a result, the result should be returned to the console.

For example, executing $('#mydiv').text(); in the console, the text of that div should be returned to the console.

If this is not directly possible, a new method should be created so that the returned value of such a command can be returned when wrapped in this method.

something like get($('#mydiv').text());