MCPcopy
hub / github.com/PaulTaykalo/objc-dependency-visualizer / getNativeFlags

Function getNativeFlags

Scripts/ace/ace.js:229–235  ·  view source on GitHub ↗
(regex)

Source from the content-addressed store, hash-verified

227 }
228
229 function getNativeFlags (regex) {
230 return (regex.global ? "g" : "") +
231 (regex.ignoreCase ? "i" : "") +
232 (regex.multiline ? "m" : "") +
233 (regex.extended ? "x" : "") + // Proposed for ES4; included in AS3
234 (regex.sticky ? "y" : "");
235 }
236
237 function indexOf (array, item, from) {
238 if (Array.prototype.indexOf) // Use the native array method if available

Callers 1

ace.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected