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

Function part question 1: missing one output #70

Open
QingYun opened this issue Jan 28, 2019 · 2 comments
Open

Function part question 1: missing one output #70

QingYun opened this issue Jan 28, 2019 · 2 comments

Comments

@QingYun
Copy link

QingYun commented Jan 28, 2019

The code is

function funcA(){
	console.log("funcA ", this);
	(function innerFuncA1(){
		console.log("innerFunc1", this);
		(function innerFunA11(){
			console.log("innerFunA11", this);
		})();
	})();
}
	
console.log(funcA());

The given answer funcA Window {...} innerFunc1 Window {...} innerFunA11 Window {...} didn't consider the output from the last line, which should be undefined

@QingYun
Copy link
Author

QingYun commented Jan 28, 2019

same problem in q4 in the function part

Repository owner deleted a comment May 28, 2019
@ganqqwerty
Copy link
Owner

Thanks! Will fix!

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