MCPcopy Index your code
hub / github.com/jprichardson/string.js / getNativeStringProperties

Function getNativeStringProperties

lib/string.js:722–736  ·  view source on GitHub ↗

/* Private Functions

()

Source from the content-addressed store, hash-verified

720/*************************************/
721
722 function getNativeStringProperties() {
723 var names = getNativeStringPropertyNames();
724 var retObj = {};
725
726 for (var i = 0; i < names.length; ++i) {
727 var name = names[i];
728 if (name === 'to' || name === 'toEnd') continue; // get rid of the shelljs prototype messup
729 var func = __nsp[name];
730 try {
731 var type = typeof func.apply('teststring');
732 retObj[name] = type;
733 } catch (e) {}
734 }
735 return retObj;
736 }
737
738 function getNativeStringPropertyNames() {
739 var results = [];

Callers 1

string.jsFile · 0.85

Calls 1

Tested by

no test coverage detected