mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
commit
3f1a831aa1
@ -200,7 +200,7 @@ function log(target, name, descriptor) {
|
||||
var oldValue = descriptor.value;
|
||||
|
||||
descriptor.value = function() {
|
||||
console.log(`Calling "${name}" with`, arguments);
|
||||
console.log(`Calling ${name} with`, arguments);
|
||||
return oldValue.apply(null, arguments);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user