Why is JSHINT complaining that this is a strict violation?
问题 I think this may be a duplicate of Strict Violation using this keyword and revealing module pattern I have this code: function gotoPage(s){ if(s<=this.d&&s>0){this.g=s; this.page((s-1)*this.p.size);} } function pageChange(event, sorter) { var dd = event.currentTarget; gotoPage.call(sorter, dd[dd.selectedIndex].value); } And JSHINT (JSLINT) is complaining. It says \"Strict violation.\" for the highlighted line: Is my use of Function.call() and then referencing the instance, somehow