Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

esnext.string.at.js 438B

12345678910111213141516
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var charAt = require('../internals/string-multibyte').charAt;
  4. var fails = require('../internals/fails');
  5. var FORCED = fails(function () {
  6. return '𠮷'.at(0) !== '𠮷';
  7. });
  8. // `String.prototype.at` method
  9. // https://github.com/mathiasbynens/String.prototype.at
  10. $({ target: 'String', proto: true, forced: FORCED }, {
  11. at: function at(pos) {
  12. return charAt(this, pos);
  13. }
  14. });