1 function printObj(obj){
2     let str = "";
3     for(let i in obj){
4         let property=obj[i];
5         str+=i+" = "+property+"\n";
6     }
7     return str;
8 }

相关文章:

  • 2022-12-23
  • 2021-07-26
  • 2021-11-23
  • 2021-07-23
  • 2021-10-08
  • 2021-10-20
  • 2021-09-30
猜你喜欢
  • 2022-01-01
  • 2021-05-16
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
相关资源
相似解决方案