ECMAScript 2015 (ES6) <https://nodejs.org/en/docs/es6/>is supported in Node.js 
v8.9.4 <https://nodejs.org/en/blog/release/v8.9.4/> and the later versions, 
so you may apply it in Cloud Functions. An overview over supported 
ECMAScript features in various versions of Node.js is provided by node.green, 
which shows all shipping features (The ones which are turned on by default 
on Node.js and do NOT require any kind of runtime flag).
Here 
<https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/functions/pubsub>
 
you could find a sample on how to publish messages to a Cloud Pub/Sub topic 
from a Cloud Function using ES6.



On Friday, March 9, 2018 at 4:56:39 PM UTC-5, Mohit G wrote:
>
> Hi There,
>
> Does gcloud functions support ES6 functions ?
>
> Which node version does it support.
>
>
> Thank you,
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7fce7efa-666e-433a-8a4d-fade5bf4c417%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengin... Mohit G
    • [google-app... 'Katayoon (Cloud Platform Support)' via Google App Engine

Reply via email to