<script type="text/javascript">
            var person={
                firstName:"David",
                lastName:"Walsh",
                others:"Smith"
            };
            Object.keys(person).forEach(function(trait){
                console.log('person',trait,':',person[trait]);
            });
</script>   

 

相关文章:

  • 2021-09-11
  • 2021-11-20
  • 2021-11-24
  • 2021-08-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2021-09-19
  • 2022-12-23
  • 2021-10-09
相关资源
相似解决方案