LoginSignup
0
0

More than 5 years have passed since last update.

猫とイカを眺めてまったりするためのコード on nodejs

Last updated at Posted at 2017-01-26

猫とイカのAAを無限に眺めるためのコードを書きました。
実行するためにはnodejsが必要です。

ソースコード

loop.js
var cat = "";

setInterval(function () {
  cat += ' (ΦωΦ)';
  console.log(cat);
}, 1000);

setInterval(function () {
  console.log("くコ:彡");
}, 2000);

setInterval(function () {
  cat = "";
}, 10000);

実行方法

node loop.js

※終了するためにはCtrl-Cを押してください

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0