Mercurial > hg > nginx-site
changeset 2564:5aa57c656cbf
Documented TypedArray.prototype.sort() in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 07 Jul 2020 18:21:31 +0100 |
parents | 428a8cf1911b |
children | 45cb60b3b7b2 |
files | xml/en/docs/njs/reference.xml |
diffstat | 1 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/reference.xml +++ b/xml/en/docs/njs/reference.xml @@ -9,7 +9,7 @@ <article name="Reference" link="/en/docs/njs/reference.html" lang="en" - rev="44"> + rev="45"> <section id="summary"> @@ -1048,6 +1048,25 @@ Decodes an encoded component of a previo </section> +<section id="core_typedarray" name="TypedArray"> + +<para> +<literal>TypedArray</literal> is a number of different global properties +whose values are typed array constructors for specific element types. +<list type="tag"> + +<tag-name id="array_sort"><literal>TypedArray.prototype.sort()</literal></tag-name> +<tag-desc> +sorts the elements of a typed array numerically +and returns the updated typed array +(<link doc="changes.xml" id="njs0.4.2">0.4.2</link>). +</tag-desc> +</list> +</para> + +</section> + + <section id="core_json" name="JSON"> <para>