PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/sinon/lib/sinon/util/core
Просмотр файла: function-to-string.js
"use strict";
module.exports = function toString() {
var i, prop, thisValue;
if (this.getCall && this.callCount) {
i = this.callCount;
while (i--) {
thisValue = this.getCall(i).thisValue;
for (prop in thisValue) {
if (thisValue[prop] === this) {
return prop;
}
}
}
}
return this.displayName || "sinon fake";
};
Выполнить команду
Для локальной разработки. Не используйте в интернете!