1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

docs(proxy): add spaces around the operator

This commit is contained in:
Liu 2019-09-06 18:11:51 +08:00 committed by GitHub
parent 8870871023
commit 176fe9dcd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1131,7 +1131,7 @@ service.employees().then(json => {
function createWebService(baseUrl) {
return new Proxy({}, {
get(target, propKey, receiver) {
return () => httpGet(baseUrl+'/' + propKey);
return () => httpGet(baseUrl + '/' + propKey);
}
});
}