Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double console.log? #3

Open
eitansuez opened this issue Jan 3, 2022 · 1 comment
Open

double console.log? #3

eitansuez opened this issue Jan 3, 2022 · 1 comment

Comments

@eitansuez
Copy link

console.log(instance.exports.log_how_old(2021, 2000));

      console.log(instance.exports.log_how_old(2021, 2000));  

afaict log_how_old calls a function that calls console.log. why wrap the call in yet another console.log ?

(hi brian).

@danielpacak
Copy link

Good catch. I run this example yesterday and confirmed that imported function does print logs, so wrapping doesn't really makes sene to me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants