how to map first and last name in javascript code example
Example: node js code for saving first middle and last name
var studentFullName="John Smith";
var details=[]
var details=studentFullName.split(' ');
console.log("StudentFirstName="+details[0])
console.log("StudentLastName="+details[1]);