require(["esri/kernel"], function(esriNS) { /* code goes here */ });
Object: esri/kernel
Since: ArcGIS API for JavaScript 4.0

Utility for retrieving the current version of the API.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
NameTypeSummary
String

Current version of the ArcGIS API for JavaScript.

more details
more details

Property Details

versionStringreadonly

Current version of the ArcGIS API for JavaScript.

require([
  "esri/kernel"
], function(esriNS) {
  console.log(esriNS.version);
});

API Reference search results

NameTypeModule

There were no match results from your search criteria.