WAB Version 2.1 uses 3.17 API for 2D apps and JS API Version 4.0 for 3D apps.
Although Robert already answered the question, for future reference and versions.....
Requirements and browser support—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
includes info on compatible browsers, JS API, and more.
Retrieving data ...