Skip to content

Commit 4070712

Browse files
authored
Update decorator.md
${name} is wrapped with ""
1 parent 796501b commit 4070712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/decorator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function log(target, name, descriptor) {
200200
var oldValue = descriptor.value;
201201

202202
descriptor.value = function() {
203-
console.log(`Calling "${name}" with`, arguments);
203+
console.log(`Calling ${name} with`, arguments);
204204
return oldValue.apply(null, arguments);
205205
};
206206

0 commit comments

Comments
 (0)