Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
_=>parseInt($('#answers').text())
5 bytes saved thanks to Ismael MiguelIsmael Miguel
Note: This is pretty slow, and won't work if you have the PPCG-Design userscript.
5 bytes saved thanks to Ismael Miguel
_=>parseInt($('.subheader>h2''#answers').text())
_=>parseInt($('.subheader>h2').text())
_=>$('.subheader>h2').text_=>parseInt().split` `[0]
47 bytes if no whitespace is allowed:
_=>$$('.subheader>h2').text().split` `[0].trim()
_=>$('.subheader>h2').text().split` `[0]
_=>$('.subheader>h2').text().split` `[0].trim()