Help us understand the problem. What is going on with this article?

JavaScript べからず集

More than 1 year has passed since last update.

文字列置換を単純にString.replaceでやるべからず

第一引数に正規表現を指定しないと、1個しか置換してくれない。

onloadなどに代入すべからず

addEventListenerを使う。

varを使うべからず

letを使わないとlintが怒る。

for-of文の変数をletにすべからず

constを使う。

apple502j
Logo is by me, CC BY-SA 2.0
https://github.com/apple502j
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away