Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
mudeer-web
/
node_modules
/
media-engine
/
src
/
Filename :
operators.js
back
Copy
function And(left, right) { this.left = left; this.right = right; this.match = function(options) { return left.match(options) && right.match(options); }; } function Or(left, right) { this.left = left; this.right = right; this.match = function(options) { return left.match(options) || right.match(options); }; } module.exports = function Operator(type, left, right) { switch (type) { case 'and': return new And(left, right); case ',': return new Or(left, right); default: throw new Error(value); } };