在Chrome Devtools中记录JS对象时,强调属性意味着什么

时间:2022-09-18 20:47:39

See the image below to see what I mean

看下面的图片,看看我的意思

在Chrome Devtools中记录JS对象时,强调属性意味着什么

1 个解决方案

#1


0  

It means that properties are "private", it is developers agreement. See more about it: https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Contributor_s_Guide/Private_Properties#Using_Prefixes

这意味着属性是“私有的”,这是开发者的共识。了解更多信息:https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Contributor_s_Guide/Private_Properties#Using_Prefixes

I don't recommend use these properties, because they can change in next Leaflet version (sometimes as I remember it happens).

我不建议使用这些属性,因为它们可以在下一个Leaflet版本中更改(有时我记得它会发生)。

#1


0  

It means that properties are "private", it is developers agreement. See more about it: https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Contributor_s_Guide/Private_Properties#Using_Prefixes

这意味着属性是“私有的”,这是开发者的共识。了解更多信息:https://developer.mozilla.org/en-US/Add-ons/SDK/Guides/Contributor_s_Guide/Private_Properties#Using_Prefixes

I don't recommend use these properties, because they can change in next Leaflet version (sometimes as I remember it happens).

我不建议使用这些属性,因为它们可以在下一个Leaflet版本中更改(有时我记得它会发生)。