Creating A Javascript Functions With Parameters In C