Mercurial > hg > nginx-site
comparison xml/en/docs/njs/compatibility.xml @ 2271:34a1901e663d
Described charAt, codePointAt, fromCharCode in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 31 Oct 2018 20:56:02 +0300 |
parents | 6426814f9373 |
children | 1a6524706c70 |
comparison
equal
deleted
inserted
replaced
2270:cd9934924920 | 2271:34a1901e663d |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Compatibility" | 9 <article name="Compatibility" |
10 link="/en/docs/njs/compatibility.html" | 10 link="/en/docs/njs/compatibility.html" |
11 lang="en" | 11 lang="en" |
12 rev="4"> | 12 rev="5"> |
13 | 13 |
14 <section> | 14 <section> |
15 | 15 |
16 <para> | 16 <para> |
17 njs is created in compliance with | 17 njs is created in compliance with |
57 <literal>String</literal> methods: | 57 <literal>String</literal> methods: |
58 <list type="bullet"> | 58 <list type="bullet"> |
59 | 59 |
60 <listitem> | 60 <listitem> |
61 ES5.1: | 61 ES5.1: |
62 <literal>fromCharCode</literal>, | 62 <link doc="reference.xml" id="string_fromcharcode"><literal>fromCharCode</literal></link>, |
63 <link doc="reference.xml" id="string_concat"><literal>concat</literal></link>, | 63 <link doc="reference.xml" id="string_concat"><literal>concat</literal></link>, |
64 <link doc="reference.xml" id="string_slice"><literal>slice</literal></link>, | 64 <link doc="reference.xml" id="string_slice"><literal>slice</literal></link>, |
65 <link doc="reference.xml" id="string_substring"><literal>substring</literal></link>, | 65 <link doc="reference.xml" id="string_substring"><literal>substring</literal></link>, |
66 <link doc="reference.xml" id="string_substr"><literal>substr</literal></link>, | 66 <link doc="reference.xml" id="string_substr"><literal>substr</literal></link>, |
67 <literal>charAt</literal>, | 67 <link doc="reference.xml" id="string_charat"><literal>charAt</literal></link>, |
68 <link doc="reference.xml" id="string_indexof"><literal>indexOf</literal></link>, | 68 <link doc="reference.xml" id="string_indexof"><literal>indexOf</literal></link>, |
69 <link doc="reference.xml" id="string_lastindexof"><literal>lastIndexOf</literal></link>, | 69 <link doc="reference.xml" id="string_lastindexof"><literal>lastIndexOf</literal></link>, |
70 <link doc="reference.xml" id="string_tolowercase"><literal>toLowerCase</literal></link>, | 70 <link doc="reference.xml" id="string_tolowercase"><literal>toLowerCase</literal></link>, |
71 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase</literal></link>, | 71 <link doc="reference.xml" id="string_touppercase"><literal>toUpperCase</literal></link>, |
72 <link doc="reference.xml" id="string_trim"><literal>trim</literal></link>, | 72 <link doc="reference.xml" id="string_trim"><literal>trim</literal></link>, |
77 </listitem> | 77 </listitem> |
78 | 78 |
79 <listitem> | 79 <listitem> |
80 ES6: | 80 ES6: |
81 <link doc="reference.xml" id="string_fromcodepoint"><literal>fromCodePoint</literal></link>, | 81 <link doc="reference.xml" id="string_fromcodepoint"><literal>fromCodePoint</literal></link>, |
82 <literal>codePointAt</literal>, | 82 <link doc="reference.xml" id="string_codepointat"><literal>codePointAt</literal></link>, |
83 <link doc="reference.xml" id="string_includes"><literal>includes</literal></link>, | 83 <link doc="reference.xml" id="string_includes"><literal>includes</literal></link>, |
84 <link doc="reference.xml" id="string_startswith"><literal>startsWith</literal></link>, | 84 <link doc="reference.xml" id="string_startswith"><literal>startsWith</literal></link>, |
85 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, | 85 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, |
86 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link> | 86 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link> |
87 </listitem> | 87 </listitem> |