Why do Javascript primitive values (e.g. name = “John”) have properties and methods? [duplicate]

前端 未结 2 1788
礼貌的吻别
礼貌的吻别 2021-01-21 15:52
热议问题