Refactor
This commit is contained in:
parent
2615368b1e
commit
6d08909b2f
3 changed files with 4 additions and 4 deletions
|
|
@ -161,7 +161,7 @@ export class ASEvaluator {
|
|||
subtract: (a: number, b: number) => a - b,
|
||||
multiply: (a: number, b: number) => a * b,
|
||||
divide: (a: number, b: number) => a / b,
|
||||
remind: (a: number, b: number) => a % b,
|
||||
mod: (a: number, b: number) => a % b,
|
||||
strLen: (a: string) => a.length,
|
||||
strPick: (a: string, b: number) => a[b - 1],
|
||||
strReplace: (a: string, b: string, c: string) => a.split(b).join(c),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue