update doc (#485)

pull/491/head
superheizai 6 years ago committed by hengyunabc
parent a800e2cf7c
commit efb835823e

@ -57,7 +57,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 66 ms.
* Condition expression
Tips:
1. `tt -t *Test print params[0].length==1` with different amounts of parameters;
1. `tt -t *Test print params.length==1` with different amounts of parameters;
2. `tt -t *Test print 'params[1] instanceof Integer'` with different types of parameters;
3. `tt -t *Test print params[0].mobile=="13989838402"` with specified parameter.

@ -68,7 +68,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 66 ms.
- 解决方法重载
`tt -t *Test print params[0].length==1`
`tt -t *Test print params.length==1`
通过制定参数个数的形式解决不同的方法签名,如果参数个数一样,你还可以这样写

Loading…
Cancel
Save