Merge pull request #581 from limengke123/patch-1

Update decorator.md
This commit is contained in:
Ruan YiFeng
2018-01-07 19:50:21 -06:00
committed by GitHub
+1 -1
View File
@@ -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);
};