JavaScript Abilities , What JS can do! We know JavaScript can do many thing and most popular language in the world. Here I shall mention some of JS basic abilities. Ability-1: JS can change HTML attributesm like src attribute value of img tag.