maths: add length function
This commit is contained in:
parent
982f8f2585
commit
dfa0cb3150
2 changed files with 2 additions and 0 deletions
|
|
@ -84,6 +84,7 @@ module.exports = {
|
|||
}
|
||||
return dec ? int + '.' + dec : int
|
||||
},
|
||||
length: function(x) { return x.length },
|
||||
// basic relationnal to keep alphabetical string comparison (v4 change)
|
||||
equal: function (a, b) { return a == b },
|
||||
unequal: function (a, b) { return a != b },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue