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

Chapter 11: no Graph.js file #13

Open
Lingsa opened this issue Mar 15, 2016 · 0 comments
Open

Chapter 11: no Graph.js file #13

Lingsa opened this issue Mar 15, 2016 · 0 comments

Comments

@Lingsa
Copy link

Lingsa commented Mar 15, 2016

codes can't run
chaper11-3:load("Graph.js")

what is the path.push(s)?
function pathTo(v) { var source=0; if(!this.hasPathTo(v)){ return undefined; } var path=[]; for(var i=v; i !=source; i=this.edgeTo[i]) { path.push[i]; } path.push(s); return path; }

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

1 participant