mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-24 06:13:17 +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";
|
"use strict";
|
||||||
|
|
||||||
exports.length = makeStringBinaryOperator(
|
exports.length = makeStringBinaryOperator(
|
||||||
function(a) {return [("" + a).length];}
|
function(a) {return ["" + ("" + a).length];}
|
||||||
);
|
);
|
||||||
|
|
||||||
exports.uppercase = makeStringBinaryOperator(
|
exports.uppercase = makeStringBinaryOperator(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user