MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / getNativeFlags

Function getNativeFlags

static/js/ace.js:242–248  ·  view source on GitHub ↗
(regex)

Source from the content-addressed store, hash-verified

240 }
241
242 function getNativeFlags (regex) {
243 return (regex.global ? "g" : "") +
244 (regex.ignoreCase ? "i" : "") +
245 (regex.multiline ? "m" : "") +
246 (regex.extended ? "x" : "") + // Proposed for ES4; included in AS3
247 (regex.sticky ? "y" : "");
248 }
249
250 function indexOf (array, item, from) {
251 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