Most example codes in the WLDC are so well-chosen and instructive/didactic/educational/helpful that the one-liner is not accompanied by sufficient but concise or "none" explanation. And only on very rare occasions would we stumble over example code which we really "don't get" (the point/purpose/intention/reason d'etre/function) - basically these are examples which should have gotten improved code or better/more explanations in order to make the reader understand.
Maybe it is a good idea to question some arbitrary given example which you have come across while studying the WLDC? In a collective effort we could point out questionable examples (and comment on the post with the according Reply-button) and possibly suggest improvements to code or text. This thread is not primarily about reporting typos/errors/bugs but they could be part of the problem why we don't get the example, sometimes.
For easy reference, let's include the documentation reference URL of the function and also indicate the examples subsection where to find the referred example. I have bookmarked & memorized this thread URL for convenient access/future additions under:
https://tinyurl.com/wldcexample