Export A Function Javascript Example