    oper = 'and'
    isMap = on
   else
-   throw "invalid condition"
+   throw new Error "invalid condition"
 
   if oper isnt 'and' and oper isnt 'or' and oper isnt 'not'
-   throw "Invalid binary operation: #{cond[0]}"
+   throw new Error "Invalid binary operation: #{cond[0]}"
   res = off
   if oper is 'and'
    res = on

      st += "#{TABL} lit = parseInt(lit);\n"
      st += "#{TABL}}\n"
     else
      throw "Unknown type #{v.type}"

    #global cast
    if comp is 'regex'

      lit = parseInt lit
      val = parseInt val
   else
    throw new Error "Invalid comparison object"

   #console.log "comp: #{comp}, Key literal: #{lit}, val: #{val}"

