mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Fixed bug with length operator
Thanks @BurningTreeC
This commit is contained in:
parent
158f96a207
commit
7df58a6813
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user