You Don't Know JS: this & Object Prototypes

想知道this绑定到哪里,先要确定call-site,并且确定这次绑定基于哪个规则。

this绑定有四个规则,但是他们的优先顺序是怎样的呢?

原文地址:https://www.cnblogs.com/skating/p/6349200.html