Javascript Prototype not Working

后端 未结 4 451
刺人心
刺人心 2021-01-06 20:59

Hi I don\'t know whether this is my mistake in understanding Javascript prototype object ..

Well to be clear I\'m new to the Javascript singleton concept and lack c

4条回答
  •  心在旅途
    2021-01-06 21:29

    A function should return to work as

    prototype

    property. Take a look at this example here

提交回复
热议问题