Cheat Sheet of javascript functions