8 kyu
Swap Values
9,263 of 25,595dnolan
Description:
I would like to be able to pass an array with two elements to my swapValues function to swap the values. However it appears that the values aren't changing.
Can you figure out what's wrong here?
Debugging
Arrays
Fundamentals
Similar Kata:
Stats:
Created | May 30, 2014 |
Published | May 30, 2014 |
Warriors Trained | 40176 |
Total Skips | 762 |
Total Code Submissions | 63040 |
Total Times Completed | 25595 |
JavaScript Completions | 9263 |
CoffeeScript Completions | 64 |
Java Completions | 3413 |
C# Completions | 1313 |
Python Completions | 7423 |
C++ Completions | 4757 |
C Completions | 106 |
Lua Completions | 22 |
Total Stars | 229 |
% of votes with a positive feedback rating | 84% of 2517 |
Total "Very Satisfied" Votes | 1883 |
Total "Somewhat Satisfied" Votes | 460 |
Total "Not Satisfied" Votes | 174 |