implment duplicate function in javscript code example Example: duplicate function implementation export { } //put it at the top of the ts file