mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
0d130f8103
swc_bundler: - Prevent infinite loop.
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]));
|