Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/en/tags-returns.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ function sum(a, b, retArr) {
* Returns the sum of a and b
* @param {number} a
* @param {number} b
* @returns {Promise<number>} Promise object represents the sum of a and b
* @returns {Promise&lt;number&gt;} Promise object represents the sum of a and b
*/
function sumAsync(a, b) {
return new Promise(function(resolve, reject) {
resolve(a + b);
});
}
```
{% endexample %}
{% endexample %}
4 changes: 2 additions & 2 deletions tags-returns.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2 id="examples">Examples</h2>
* Returns the sum of a and b
* @param {number} a
* @param {number} b
* @returns {Promise<number>} Promise object represents the sum of a and b
* @returns {Promise&lt;number&gt;} Promise object represents the sum of a and b
*/
function sumAsync(a, b) {
return new Promise(function(resolve, reject) {
Expand Down Expand Up @@ -132,4 +132,4 @@ <h2 id="related-links">Related Links</h2>
</script>
</body>

</html>
</html>