Write notes on some useful JS functions.