If your script is called myScript.js and you want to pass the first and last name, 'Sean Worthington', as arguments like below:
node myScript.js Sean Worthington
Then within your script you write:
var firstName = process.argv; // Will be set to 'Sean'
var lastName = process.argv; // Will be set to 'Worthington'
Hope this works!!