I was reading the Angular.js documentation when I saw this:
Angular is what HTML would have been had it been designed for
applications.
I've never seen a construction like this and I can't get neither the meaning nor the structure that is been used.
Could you explain it?
Best Answer
The sentence is a way of saying:
In general, phrases of the form "if [noun] [helping verb] [verb]" can be rewritten as "[helping verb] [noun] [verb]".
EDIT: As Colleen pointed out in her comment, helping verbs are also commonly called auxiliary verbs.
Examples: