docs(server-communication): Fetch API does not belong to ECMAScript

closes #2107
Fetch API is a Web API, has its own specification. ECMAScript is the specification of the JavaScript language, nothing to do with Web API.
This commit is contained in:
Trotyl Yu 2016-08-13 19:41:06 +08:00 committed by Ward Bell
parent 172e497fec
commit 128915d6c3
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ block parse-json
.l-sub-section
:marked
This is not Angular's own design.
The Angular HTTP client follows the ES2015 specification for the
The Angular HTTP client follows the Fetch specification for the
[response object](https://fetch.spec.whatwg.org/#response-class) returned by the `Fetch` function.
That spec defines a `json()` method that parses the response body into a JavaScript object.