Pergunta de entrevista da empresa Amazon

Write a JS plugin to manipulate tables (you can use jQuery).