Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / phantomjs / lib / phantom / examples / arguments.js
1 var system = require('system');
2 if (system.args.length === 1) {
3     console.log('Try to pass some args when invoking this script!');
4 } else {
5     system.args.forEach(function (arg, i) {
6             console.log(i + ': ' + arg);
7     });
8 }
9 phantom.exit();