Skip to content

Commit 9fb4110

Browse files
committed
Minor tweaks
1 parent b54a118 commit 9fb4110

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/string.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,10 @@ objects::
386386
u('さよなら')->ascii(); // 'sayonara'
387387
u('спасибо')->ascii(); // 'spasibo'
388388

389-
// returns the value of the code point stored at the given position
389+
// returns an array with the code point or points stored at the given position
390390
// (code points of 'नमस्ते' graphemes = [2344, 2350, 2360, 2340]
391-
u('नमस्ते')->codePointsAt(0); // 2344
392-
u('नमस्ते')->codePointsAt(2); // 2360
391+
u('नमस्ते')->codePointsAt(0); // [2344]
392+
u('नमस्ते')->codePointsAt(2); // [2360]
393393

394394
`Unicode equivalence`_ is the specification by the Unicode standard that
395395
different sequences of code points represent the same character. For example,

0 commit comments

Comments
 (0)