environment-webkit-version.js 175 B

123456
  1. 'use strict';
  2. var userAgent = require('../internals/environment-user-agent');
  3. var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
  4. module.exports = !!webkit && +webkit[1];