Single plus operator in javascript -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 12 जवाब

बस इसे अंडरस्कोर के स्रोत में देखा :

  यदि (obj.length === + obj.length) {...}  

प्लस क्या करें? मैंने इसे पहले कभी नहीं देखा।

क्या यह डेवलपर्स के बीच एक अच्छा अभ्यास माना जाता है?

  यदि (obj.length === संख्या (obj.length)) {// ...}  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -