Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
inArray()
a guest
Apr 21st, 2017
1,496
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
inArray
(
needle
,
haystack
)
{
var
length
=
haystack.
length
;
for
(
var
i
=
0
;
i
<
length
;
i
++
)
{
if
(
haystack
[
i
]
==
needle
)
return
true
;
}
return
false
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ +12,000$ in 2 days
CSS | 1 min ago | 1.01 KB
✅ Easiest method for beginners
CSS | 1 min ago | 1.01 KB
✅ Instant Profits Method
CSS | 2 min ago | 0.86 KB
BTC SWAP GLITCH
CSS | 2 min ago | 1.01 KB
Exploit Documentation
CSS | 2 min ago | 1.01 KB
✅ +12,000$ in 2 days
CSS | 4 min ago | 0.86 KB
Older node trading
CSS | 24 min ago | 1.01 KB
How to hack an exchange
CSS | 24 min ago | 1.01 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!