// 字符串工具模块（依赖 lib/core）

import { log } from "../lib/core";

export function greet(name: string): string {
    return "Hello, " + name;
}

export function repeat(s: string, times: number): string {
    let result = "";
    let i = 0;
    while (i < times) {
        result = result + s;
        i = i + 1;
    }
    return result;
}
