Method inside object inside function

前端 未结 0 1495
走了就别回头了
走了就别回头了 2021-01-15 00:46

I\'m trying to write a method inside an object which is inside a function. Like this:

function createMountain(name, continent, heightInMeters) {
  var object          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题