This "sample" isn't really a sample at all. It just constructs a flextime instance and stores it in the global variable myFlex so you can experiment with it using your browser's Javascript console. Have fun!

Source code