update slice() function's doc

This commit is contained in:
synix 2024-04-26 12:03:28 +08:00
parent 387be70ae9
commit 3df335cb4c
2 changed files with 4 additions and 2 deletions

View File

@ -206,7 +206,8 @@ export class YArray extends AbstractType {
}
/**
* Returns a portion of this YArray into a JavaScript Array selected from start to end (end not included).
* Returns a portion of this YArray into a JavaScript Array selected
* from start to end (end not included).
*
* @param {number} [start]
* @param {number} [end]

View File

@ -399,7 +399,8 @@ export class YXmlFragment extends AbstractType {
}
/**
* Returns a portion of this YXmlFragment into a JavaScript Array selected from start to end (end not included).
* Returns a portion of this YXmlFragment into a JavaScript Array selected
* from start to end (end not included).
*
* @param {number} [start]
* @param {number} [end]