Lines Matching refs:result
8 var result = foo(42);
9 if (typeof result != "string") {
10 describe(result);
11 throw "Error: result isn't a string";
13 if (result != "42")
14 throw "Error: bad result: " + result;
16 result = foo("world");
17 if (typeof result != "string") {
18 describe(result);
19 throw "Error: result isn't a string";
21 if (result != "world")
22 throw "Error: bad result: " + result;