Reputation: 9978
How does Console in Chrome Developer Tool get implemented?
Does it get implemented by calling eval()
for every code snippet that has been passed in?
Upvotes: 0
Views: 61
Reputation: 71
When Chrome's Javascript interpreter is compiling JS code to machine code, it converts console.log to the appropriate internal API.
Upvotes: 1