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

var result = new Object();

res = resolveName(result, ARGV[0]);

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