下面的代码是用什么语言写的? [已关闭]

问题描述 投票:0回答:1

谁能解释一下这里使用的是什么语言?

exports.sendNotification = functions.database.ref('/message/{userId}/{pushId}').onWrite(event => {
    const snapshot = event.data;
    const userId = event.params.userId;
});
javascript firebase google-cloud-functions
1个回答
2
投票

它是在 Cloud Functions 中运行的 JavaScript,这是一个托管的 Node.js 环境。

© www.soinside.com 2019 - 2024. All rights reserved.