Version 1
[yaffs-website] / node_modules / core-js / library / modules / es7.string.at.js
diff --git a/node_modules/core-js/library/modules/es7.string.at.js b/node_modules/core-js/library/modules/es7.string.at.js
new file mode 100644 (file)
index 0000000..208654e
--- /dev/null
@@ -0,0 +1,10 @@
+'use strict';
+// https://github.com/mathiasbynens/String.prototype.at
+var $export = require('./_export')
+  , $at     = require('./_string-at')(true);
+
+$export($export.P, 'String', {
+  at: function at(pos){
+    return $at(this, pos);
+  }
+});
\ No newline at end of file