• This project
    • Loading...
  • Sign in

이승윤 / OpenSource-MyCookBook

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • OpenSource-MyCookBook
  • libs
  • removeByValue.js
  • 이승윤's avatar
    feat: 초기 레이아웃 세팅 · 1677a225
    1677a225
    이승윤 authored 2021-05-23 17:07:27 +0900
removeByValue.js 211 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8
module.exports = function(){
    Array.prototype.removeByValue = function (search) {
        var index = this.indexOf(search);  
        if (index !== -1) {
            this.splice(index, 1);
        }
    };
};