comparison xml/en/docs/njs/reference.xml @ 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 2edc64c05b0e
comparison
equal deleted inserted replaced
2563:428a8cf1911b 2564:5aa57c656cbf
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="Reference" 9 <article name="Reference"
10 link="/en/docs/njs/reference.html" 10 link="/en/docs/njs/reference.html"
11 lang="en" 11 lang="en"
12 rev="44"> 12 rev="45">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 <link doc="index.xml">njs</link> provides objects, methods and properties 17 <link doc="index.xml">njs</link> provides objects, methods and properties
1046 </para> 1046 </para>
1047 1047
1048 </section> 1048 </section>
1049 1049
1050 1050
1051 <section id="core_typedarray" name="TypedArray">
1052
1053 <para>
1054 <literal>TypedArray</literal> is a number of different global properties
1055 whose values are typed array constructors for specific element types.
1056 <list type="tag">
1057
1058 <tag-name id="array_sort"><literal>TypedArray.prototype.sort()</literal></tag-name>
1059 <tag-desc>
1060 sorts the elements of a typed array numerically
1061 and returns the updated typed array
1062 (<link doc="changes.xml" id="njs0.4.2">0.4.2</link>).
1063 </tag-desc>
1064 </list>
1065 </para>
1066
1067 </section>
1068
1069
1051 <section id="core_json" name="JSON"> 1070 <section id="core_json" name="JSON">
1052 1071
1053 <para> 1072 <para>
1054 The <literal>JSON</literal> object (ES 5.1) provides functions 1073 The <literal>JSON</literal> object (ES 5.1) provides functions
1055 to convert njs values to and from JSON format. 1074 to convert njs values to and from JSON format.