(function(global) {
  global.NativeFeatures = {
    Promise: !!global.Promise,
    Symbol: !!global.Symbol,
    Map: !!global.Map,
    Set: !!global.Set
  };
}(this));

(function(global) {
  global.NativeFeatures = {
    Promise: !!global.Promise,
    Symbol: !!global.Symbol,
    Map: !!global.Map,
    Set: !!global.Set
  };
}(typeof global !== 'undefined' ? global : this));

Fix native features check under node
Fix native features check under node