Docs: Fix typo and added a note

This commit is contained in:
delvedor
2019-02-14 16:25:03 +01:00
parent 6d68d22e32
commit 9bbae42ccc
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ The returned value of every API call is formed as follows:
}
----
NOTE: The body will be a boolean value when using `HEAD` APIs.
The above valiue will be returned even if there is an error during the execution of the request, this means that you can safely use the https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment[destructuring assignment].
[source,js]