《JavaScript语言精粹》这书里有个例子没看懂啊

var block = function ( ) {
  // Remember the current scope. Make a new scope that
  // includes everything from the current one.
  var oldScope = scope;
  scope = Object.create(scope);
  // Advance past the left curly brace.
  advance('{');
  // Parse using the new scope.
  parse(scope);
  // Advance past the right curly brace and discard the
  // new scope, restoring the old one.
  advance('}');
  scope = oldScope;
};

里面的advance()是什么?pdf里面没有搜索到定义

阅读 1.7k
2 个回答

看看上下文 这个肯定是定义的方法

你下的是数字版的还是扫描版的pdf啊.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题