Says “Expecting more source characters”

前端 未结 3 754
夕颜
夕颜 2021-01-28 07:49

That code below gives an error \"Expecting more source characters\" you may please any help me on this issue.

Thanks

Cengiz Yücel A web developer form Turkey

3条回答
  •  不要未来只要你来
    2021-01-28 08:34

    Another common source that catches C programmers is the opening brace on functions -- (most) javascript programmers put it at the end of the line and (most) C programmers start it on a new line. Doing both is obviously an error:

    MyClass.LastFunctionInFile = function() {
    {
        Foo();
        Bar();
    }
    

    See it?

提交回复
热议问题