pmarcinkiew / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net
Other
0 stars 1 forks source link

Stringify object in console module (#1298) #133

Closed pmarcinkiew closed 6 years ago

pmarcinkiew commented 6 years ago

In the case of console.log({ a: '123', b: 123, c: [1, 2, 3]});, the printed log is like the following:

Current: [object Object]

This patch: {"a":"123","b":123,"c":[1,2,3]}

IoT.js-DCO-1.0-Signed-off-by: Daeyeon Jeong daeyeon.jeong@samsung.com