Test out the function below and see what output you get.
Download the script here, or you can just view it.