WoW:USERAPI Memorizing table: Difference between revisions

m
Corrected spelling/grammar
m (Typo fixed to a more precise definition)
m (Corrected spelling/grammar)
Line 7: Line 7:


== Code ==
== Code ==
For this example we will cache the name results from a [[API GetItemInfo|GetItemInfo]] call.
For this example, we will cache the name results from a [[API GetItemInfo|GetItemInfo]] call.


  local names = setmetatable({}, {
  local names = setmetatable({}, {
Line 16: Line 16:
  return name
  return name
  end,
  end,
  })  
  })


== How it works ==
== How it works ==
Anonymous user