From a0399a4c3e5426fbe7bc958f12429784a3718824 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 11 Jun 2022 11:55:44 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- README.md | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 889a961..e9f79b0 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,8 @@ Library of JavaScript type extensions, types and utilities. - [`.concat(..)`](#promise-iterconcat) - [`.push(..)` / `.unshift(..)`](#promise-iterpush--promise-iterunshift) - [`.at(..)` / `.first()` / `.last()`](#promise-iterat--promise-iterfirst--promise-iterlast) - - [Array proxy methods](#array-proxy-methods) + - [Array proxy methods returning ``](#array-proxy-methods-returning-promise-iter) + - [Array proxy methods returning a ``](#array-proxy-methods-returning-a-promise) - [`.then(..)` / `.catch(..)` / `.finally(..)`](#promise-iterthen--promise-itercatch--promise-iterfinally) - [Advanced handler](#advanced-handler) - [Promise proxies](#promise-proxies) @@ -1670,9 +1671,43 @@ see them for more info. XXX -#### Array proxy methods +#### Array proxy methods returning `` -XXX +- `.sort(..)` +- `.slice(..)` +- `.entries()` / `.keys()` / `.values()` + +These methods are proxies to the appropriate array methods. + +```bnf +.(..) + -> +``` + +These methods need the parent `` to resolve before resolving themselves. + +XXX links... + + +#### Array proxy methods returning a `` + +- `.indexOf(..)` +- `.includes(..)` +- `.every(..)` / `.some(..)` + +These methods are proxies to the appropriate array methods. + +```bnf +.(..) + -> +``` + +These methods need the parent `` to resolve before resolving themselves. + +Since the equivalent array methods do not return iterables these will return a basic +(non-iterable) ``. + +XXX links... #### `.then(..)` / `.catch(..)` / `.finally(..)`