mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 03:31:45 +03:00
12 lines
196 B
TypeScript
12 lines
196 B
TypeScript
import { showList } from "./b";
|
|
|
|
export const showValue = (v: number): string => {
|
|
if (v === 0) {
|
|
return showList([v]);
|
|
}
|
|
|
|
return `${v}`;
|
|
};
|
|
|
|
console.log(showList([1, 2, 3]));
|