Skip to content

Commit 3f1a831

Browse files
authored
Merge pull request ruanyf#581 from limengke123/patch-1
Update decorator.md
2 parents 796501b + 4070712 commit 3f1a831

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)