mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
docs(proxy): add spaces around the operator
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user