Another TW homework using some function implementation of a pos client to learn JS oop programming.