code: func (l *State) SetTable(index int) {
  	l.checkElementCount(2)
  	l.setTableAt(l.indexToValue(index), l.stack[l.top-2], l.stack[l.top-1])
  	l.top -= 2
  }
docs: // SetTable does the equivalent of table[key]=v, where table is the value
  // at index, v is the value at the top of the stack and key is the value
  // just below the top.
  //
  // The function pops both the key and the value from the stack.  As in Lua,
  // this function may trigger a metamethod for the __newindex event.
  //
  // http://www.lua.org/manual/5.2/manual.html#lua_settable