summaryrefslogtreecommitdiff
path: root/testprogs/ejs/resolveName.js
blob: c2d06b5c743546bcf7498b0a839789b9990e6e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* 
  Demonstrate use of resolveName() js function
*/

var result;
res = resolveName(result, "frogurt");

if (!res.is_ok) {
	println(res.errstr);
} else {
	println(result);
}