Single plus operator in javascript -


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

  • 12 जवाब

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

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

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

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

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

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -