1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

Fixed bug with length operator

Thanks @BurningTreeC
This commit is contained in:
Jermolene 2019-02-07 12:56:12 +00:00
parent 158f96a207
commit 7df58a6813

View File

@ -15,7 +15,7 @@ Sum/product/maxall/minall operate on the entire list, returning a single item.
"use strict";
exports.length = makeStringBinaryOperator(
function(a) {return [("" + a).length];}
function(a) {return ["" + ("" + a).length];}
);
exports.uppercase = makeStringBinaryOperator(