Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Whereas the contrary bringeth bliss, And is a pattern of celestial peace. Whom should we match with Henry, being a king. . .
—William Shakespeare, The First Part of Henry the Sixth
Many of JavaScript's features were borrowed from other languages. The syntax came from Java, functions came from Scheme, and prototypal inheritance came from Self. JavaScript's Regular Expression feature was borrowed from Perl.