Web publishing is becoming a more common method of disseminating informatio
n. JavaScript is an object-orientated language embedded into modern browser
s and has a wide variety of uses. The use of JavaScript in radiology is ill
ustrated by calculating the indices of sensitivity, specificity, and predic
tive values from a table of true positives, true negatives, false positives
, and false negatives, In addition, a single line of JavaScript code can be
used to annotate images, which has a wide variety of uses.