From 469372fa6f6f35d2234aebcf74c6d30b7f8c4687 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 13 Aug 2018 14:48:52 +0300 Subject: [PATCH] docs... Signed-off-by: Alex A. Naanou --- diff.js | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/diff.js b/diff.js index cc62eb2..05bcd4b 100644 --- a/diff.js +++ b/diff.js @@ -614,19 +614,17 @@ object.makeConstructor('OF', Object.assign(new LogicType(), { // // number - array key // // NOTE: this is actually not different // // from a string... -// // [ -// // null | index | [index, length], -// // null | index | [index, length], -// // ] -// // - a set of 2 keys for A and B respectively -// // if one of the array items in undefined or -// // null then it means that the item does not -// // exist in the corresponding array... +// // [, ] +// // - a set of 2 keys for A and B respectively, +// // can be one of: +// // null - item does not exist. +// // index - item index. +// // [index, length] - item is a sub-array and +// // will replace a section +// // of length length. // // if both of the array items are arrays it // // means that we are splicing array sections // // instead of array elements... -// // length indicates the size of the spliced -// // out section... // // XXX revise docs... // path: [, ...], //