kernel

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

Name Type Summary Object
String

Current version of the ArcGIS API for JavaScript.

more details
more detailskernel

Property Details

version Stringstatic,readonly

Current version of the ArcGIS API for JavaScript.

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.