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.
NameTypeSummaryObject
String

Current version of the ArcGIS API for JavaScript.

more details
more detailskernel

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
Loading...