list of javascript cheat sheet
// before -- [_,_,NEW,REF,_,_]
list.splice(list.indexOf(REF), 0, NEW))
list of javascript cheat sheet
// before -- [_,_,NEW,REF,_,_]
list.splice(list.indexOf(REF), 0, NEW))
list of javascript cheat sheet
.every(n => ...) => Boolean // ie9+
.some(n => ..) => Boolean // ie9+
list of javascript cheat sheet
list.push(X) // list == [_,_,_,_,_,X]
list.unshift(X) // list == [X,_,_,_,_,_]
list.splice(2, 0, X) // list == [_,_,X,_,_,_]
list of javascript cheat sheet
.map(n => ...) // ie9+
.reduce((total, n) => total) // ie9+
.reduceRight(...)
list of javascript cheat sheet
list.splice(2, 1, X) // list == [a,b,X,d,e]
list of javascript cheat sheet
list = [a,b,c,d,e]
list of javascript cheat sheet
.find(n => ...) // es6
.findIndex(...) // es6
list of javascript cheat sheet
// after -- [_,_,REF,NEW,_,_]
list.splice(list.indexOf(REF)+1, 0, NEW))
list of javascript cheat sheet
.filter(n => ...) => array
list of javascript cheat sheet
re = list.splice(1) // re = [b,c,d,e] list == [a]
re = list.splice(1,2) // re = [b,c] list == [a,d,e]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us