question

servicewithasmilerating avatar image
0 Likes"
servicewithasmilerating asked

What is your interpretation of this console.log or is this correct?

Process the message

*

* @param {JSON} message

*/

const processInternal = (message) => {

const data = message.notification.data;

// eslint-disable-next-line no-console

console.log(`Hello, what is your User ID?${data.userId}`);

// eslint-disable-next-line no-console

console.log(`Username: ${data.username}Welcome!`);

};


module.exports = { process: processInternal };

codejava sdknodejsjason
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.