From efb6c0d24123289c7a08ab58c02c9e591e5ccee3 Mon Sep 17 00:00:00 2001 From: gwarser Date: Fri, 28 May 2021 14:10:57 +0200 Subject: [PATCH] Add empty array, object to set-constant scriptlet --- Resources-Library.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Resources-Library.md b/Resources-Library.md index ca18ab4..58f49dd 100644 --- a/Resources-Library.md +++ b/Resources-Library.md @@ -407,6 +407,8 @@ Parameters: - `trueFunc` - function returning true - `falseFunc` - function returning false - `''` - empty string[2019-01-06](https://github.com/uBlockOrigin/uAssets/commit/5051610f0e2374955a03c54be42bbbe9115f05c7#diff-8809d5783978a0b5b88f93d7dab99de0R2132) + - `[]` - empty array[1.35.4](https://github.com/gorhill/uBlock/commit/ce801b952b5777775385efc00479405af54edbc9) + - `{}` - empty object[1.35.4](https://github.com/gorhill/uBlock/commit/ce801b952b5777775385efc00479405af54edbc9) Examples: - `kompetent.de##+js(set, Object.keys, trueFunc)`