2 * add-properties.js: Example of how to add properties to an object using prompt.
4 * (C) 2010, Nodejitsu Inc.
8 var prompt = require('../lib/prompt');
16 password: 'lamepassword',
21 // Log the initial object.
23 console.log('Initial object to be extended:');
27 // Add two properties to the empty object: username and email
29 prompt.addProperties(obj, ['username', 'email'], function (err) {
33 console.log('Updated object received:');