云函数
function main() {
    // 输出控制台日志
    console.log('this is a console message.')
    // 返回字符串
    return 'Hello, World!'
}
// 更多 Serverless 云数据库、云函数、云存储请访问:T1后端云
运行结果
点击运行按钮执行代码 或 访问