From 21ad355809791b6f906fbe6e4112177741e72abe Mon Sep 17 00:00:00 2001 From: bi-hu Date: Tue, 27 Dec 2022 10:50:31 +0800 Subject: [PATCH] fixed b6a1d55 from https://gitee.com/bi-hu-01/docs/pulls/12935 Modify the inaccurate description of the returned values of popFirst and popLast interfaces in the deque class Signed-off-by: bi-hu https://gitee.com/openharmony/docs/issues/I67LJA --- zh-cn/application-dev/reference/apis/js-apis-deque.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-deque.md b/zh-cn/application-dev/reference/apis/js-apis-deque.md index 2e92557925..d7a32e4d24 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-deque.md +++ b/zh-cn/application-dev/reference/apis/js-apis-deque.md @@ -171,7 +171,7 @@ popFirst(): T | 类型 | 说明 | | -------- | -------- | -| T | 返回被删除的元素。 | +| T | 返回被删除的首元素。 | **错误码:** @@ -205,7 +205,7 @@ popLast(): T | 类型 | 说明 | | -------- | -------- | -| T | 返回被删除的元素。 | +| T | 返回被删除的尾元素。 | **错误码:** -- GitLab