関数

便利な関数をオンラインで実行します。

アルゴリズム

オセロ

⚫️ 黒(先攻)の番⚪️ 白(後攻)の番難易度やさしいふつう01234567891011121314151617181920212223242526⚪️⚫️293031323334⚫️⚪️37383940414243444546474849...
関数

置換

置換前文字列の検索文字列を置換文字列に全置換した結果を置換後文字列に表示します。/// /// 全置換/// function replace() { let before = document.getElementById('before...
関数

干支

西暦を入力すると干支を表示します。const year = document.getElementById('year');year.addEventListener('input', function() { document.getEl...
アルゴリズム

文字列ランダム並べ替え

文字列をランダムに並べ替えます。→文字列の並べ替えはこちら・文字列並べ替え・文字列逆順並べ替え・文字列ランダム並べ替えconst button = document.getElementById('button');button.addEv...
関数

文字列並べ替え

文字列を文字コード順に並べ替えます。→文字列の並べ替えはこちら・文字列並べ替え・文字列逆順並べ替え・文字列ランダム並べ替えconst before = document.getElementById('before');before.add...
関数

URLデコード

入力文字列をURLデコードします。→URLエンコードはこちらconst before = document.getElementById('before');before.addEventListener('input', function...
関数

URLエンコード

入力文字列をURLエンコードします。→URLデコードはこちらconst before = document.getElementById('before');before.addEventListener('input', function...
関数

文字列比較

単純に、A=B or notを比較し、◯×を返します。// 文字列比較function compare() { let left = document.getElementById('left').value; let right = do...
関数

小文字変換

入力文字列の大文字を小文字に変換します。→大文字変換はこちらconst before = document.getElementById('before');before.addEventListener('input', function...
関数

大文字変換

入力文字列の小文字を大文字に変換します。→小文字変換はこちらconst before = document.getElementById('before');before.addEventListener('input', function...