SyntaxFix
Write A Post
Hire A Developer
Questions
You can write if(foo in L(10,20,30)) if you define L to be
if(foo in L(10,20,30))
L
var L = function() { var obj = {}; for(var i=0; i<arguments.length; i++) obj[arguments[i]] = null; return obj; };