1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

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
commit 3f1a831aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
};