mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
14 lines
218 B
GLSL
14 lines
218 B
GLSL
function foo4 (v1, v2) {
|
|
var v3 = v1 + v2;
|
|
if(v3 < 100) {
|
|
var name = "awtk";
|
|
} else {
|
|
var name = "react-awtk";
|
|
}
|
|
|
|
return name;
|
|
}
|
|
|
|
assert(foo4(10, 20) == 'awtk')
|
|
assert(foo4(100, 200) == 'react-awtk')
|