20th Jul 2022, 12:56 AM
Varin
Varin - avatar
2 Answers
+ 2
PRO Because you are returning object. You need to convert in string using JSON.stringify() function console.log(JSON.stringify(letter_frequency("hello")))
20th Jul 2022, 3:32 AM
AÍąJ
AÍąJ - avatar
+ 1
AͱJ Thanks for helping me again bro🙏
20th Jul 2022, 3:40 AM
Varin
Varin - avatar