How can you assign a number of paragraphs value for "numParagraphs" variable? Select all correct options.
Explanation

var numParagraphs = $('p').length // 3
var numParagraphs = $('p').size() // 3
note: jQuery .size() method simply calls .length

size: function(){
   return this.length;
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback