【问题标题】:In what language the following code is written? [closed]以下代码是用什么语言编写的? [关闭]
【发布时间】:2018-06-30 08:08:49
【问题描述】:

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

exports.sendNotification = functions.database.ref('/message/{userId}/{pushId}').onWrite(event => {
    const snapshot = event.data;
    const userId = event.params.userId;
});

【问题讨论】:

  • 那是 JavaScript。

标签: javascript firebase google-cloud-functions


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2015-08-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-06-15
    • 1970-01-01
    相关资源
    最近更新 更多