Update decorator.md

${name} is wrapped with ""
This commit is contained in:
LiMengKe
2018-01-07 23:34:14 +08:00
committed by GitHub
parent 796501b264
commit 4070712141
+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);
};