Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 hours ago.
Improve this questionI have an object (data) which stores accounts in my JavaScript project and I would like to search it and make a list of 10 accounts from it. I want the list to state in the following format:
Account username (data.username)
Account password (data.password)
Account First Name (data.firstName)
Account Last Name (data.lastName )
Account email (data.email)
Account ssn (data.ssn)
Account number (data.accountNumber)
Account Type (data.accountType)
Same Thing
My code so far is:
return ngpResource(baseUrl, {}, {
/**
* @ngdoc method
* @name enrollment
* @name updatePhone
* @methodOf com.np.dcts.resourceSecurityApp.service:ngpSecurityEnrollmentResource
* @methodOf com.np.dcts.resourceSecurityApp.service:ngpOtpResource
* @param {object} data enrollment information to pass to the service call
* @param {string} data.username user's username
* @param {string} data.password user's password
* @param {string} data.firstName user's first name
* @param {string} data.lastName user's last name
* @param {string} data.email user's email
* @param {string} data.ssn user's ssn
* @param {string} data.accountNumber user's account number
开发者_StackOverflow中文版 * @param {string} data.accountType user's account type
* @param {string=} data.phoneNumber phone number
Can someone help me format this for my firebase database?
精彩评论