I am trying to learn JavaScript, but my English is not that good.
While reading Simply JavaScript by Kevin Yank & Cameron Adams, I came across this paragraph, and I want to know what one sentence in it means:
Thanks to the wide adoption of the Document Object Model (DOM) standard, accessing HTML elements in your JavaScript code works very similarly in every browser. If only the same could be said for every aspect of JavaScript! As it happens, running JavaScript code in response to an event stands out as one of the few remaining features that are implemented in wildly varying ways in current browsers.
What does "If only the same could be said for every aspect of JavaScript!" mean?