You are concatenating an object
to string
You can console a string and an object by separating it by comma(,
)
you can console.log("uniqueProducts:", uniqueProducts );
More Related Contents:
- Chrome/Firefox console.log always appends a line saying ‘undefined’
- How can I make console.log show the current state of an object?
- What happened to console.log in IE8?
- Does IE9 support console.log, and is it a real function?
- Adding console.log to every function automatically
- Logging Clientside JavaScript Errors on Server [closed]
- Chrome JavaScript developer console: Is it possible to call console.log() without a newline?
- Can I extend the console object (for rerouting the logging) in javascript?
- User Activity Tracking using javascript library [closed]
- Remove logging the origin line in Jest
- Synchronous console logging in Chrome
- How can I write a function that will format a camel cased string to have spaces?
- What is the difference between a User and a GuildMember in discord.js?
- I know that callback function runs asynchronously, but why?
- How do I remove all null and empty string values from an object? [duplicate]
- How do I convert special UTF-8 chars to their iso-8859-1 equivalent using javascript?
- Intercept a form submit in JavaScript and prevent normal submission
- Uploading ‘canvas’ image data to the server
- What is the difference between ‘let’ and ‘const’ ECMAScript 2015 (ES6)?
- How can I return multiple lines JSX in another return statement in React?
- get a list of all folders in directory [closed]
- Using javascript and jquery, to populate related select boxes with array structure
- How to save data from a form with HTML5 Local Storage?
- Submit form after calling e.preventDefault()
- Rendering an array.map() in React
- Zip arrays in JavaScript?
- Submit jQuery UI dialog on
- javascript – pass selected value from popup window to parent window input box
- Use JavaScript variable as function name?
- What is the difference between these Backbone/Underscore .bind() methods?