【重要】サービス終了のお知らせ

isArray

tsmallfield

License: MIT License

Fork
0
Fav
2
View
1974
  • Play

Fullscreen

Smart Phone

  • Readme
  • JavaScript 102 lines
  • HTML 1 lines
  • CSS 13 lines
(本物の)配列かどうかを判断するのに

var isArray = function(arg){
  return [].concat(arg)[0] !== arg;
};

ではどうだろう?とふと思ついたのでテスト。
  • isArray
  • isArray

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by