Not bad as a briefly explained article with code example. But I would suggest having a look at W3C’s documentation of CORS.
The only difficulty with the W3C documentation is that it’s written for implementers, not developers, and so it’s not the friendliest read. Nonetheless, it is the canonical source.
Here is the link to the CORS documentation, for anyone interested.