Skip to content

修正錯誤的free_variable變數名稱 #2

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

Merged
merged 1 commit into from
Jul 11, 2012
Merged

Conversation

0xlen
Copy link
Contributor

@0xlen 0xlen commented Jun 24, 2012

function outter(arg1) {
    //arg1及free_variable1對inner函數來說,都是自由變數http://github.github.com/github-flavored-markdown/
    var free_variable1 = 3;
    return function inner(arg2) {
        var local_variable1 =2;//arg2及local_variable1對inner函數來說,都是本地變數
        return arg1 + arg2 + free_variable + local_variable1;
    };
}

free_variable changed as free_variable1

clonn added a commit that referenced this pull request Jul 11, 2012
修正錯誤的free_variable變數名稱
@clonn clonn merged commit fa9ec92 into nodejs-tw:master Jul 11, 2012
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

Successfully merging this pull request may close these issues.

2 participants