Skip to content


arrays.removeWithoutCopy added #50

merged 1 commit into from

2 participants


// and here is my version of answer:

    removeWithoutCopy : function(arr, item) {
        for ( var i = 0; i < arr.length;) {
            if (arr[i] === item) {
                arr.splice(i, 1);

            } else {
        return arr;
@rmurphey rmurphey merged commit 8f977aa into rmurphey:master

Thanks for this! Can you add the answer to the answers repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 2, 2012
  1. @ainthek

    Merge branch 'arrays'

    ainthek committed
Showing with 0 additions and 0 deletions.
Something went wrong with that request. Please try again.