To test a glob pattern go over to globtester and play around with creating your own file structure online, it's super easy to get started that way.
If you want to test out a glob pattern in the terminal use echo followed by the pattern, for instance.
echo **/*.js