LoginSignup
46
65

More than 1 year has passed since last update.

思えばちゃんと理解していなかったJavaScirpt関連基礎知識 17問

Last updated at Posted at 2022-10-19

初めは動かすことだけを意識し過ぎていて、当時は何となく使うことも多かった.

全部答えられますでしょうか?
簡単なもの多いですが、力試しにどうぞ.

※参照リンク貼っていますが、怪しいブログやプログラミングスクールは極力抜いています.
含んでいたら教えてください.

JavaScript関係なく

0.1 + 0.2 == 0.3はFalse

英語 : Why 0.1 + 0.2 ≠ 0.3 in JavaScript
https://javascript.plainenglish.io/why-0-1-0-2-0-3-in-javascript-d7e218224a72

日本語 : Pythonで、0.1+0.1+0.1==0.3 がFalseなのは何故でしょうか?
https://jp.quora.com/Python%E3%81%A7-0-1-0-1-0-1-0-3-%E3%81%8CFalse%E3%81%AA%E3%81%AE%E3%81%AF%E4%BD%95%E6%95%85%E3%81%A7%E3%81%97%E3%82%87%E3%81%86%E3%81%8B

JavaScript文法まわり

そもそもjavaScriptのCallbackはどう動く?

英語 :
How JavaScript works: Event loop and the rise of Async programming + 5 ways to better coding with async/await
https://blog.sessionstack.com/how-javascript-works-event-loop-and-the-rise-of-async-programming-5-ways-to-better-coding-with-2f077c4438b5

日本語 :
【概要速修】JavaScriptはどう動く?仕組みをさっと知りたい【初心者向け】
https://youtu.be/a948hCqo324

console.logの内容がおかしい(Chrome等々)

英語 : Why Chrome’s Developer Console Sometimes Lies
https://medium.com/young-coder/why-chromes-developer-console-sometimes-lies-9487e45e91ae

const vs let vs varの違い

Var、Let、Const – その違いとは?
https://www.freecodecamp.org/japanese/news/var-let-and-const-whats-the-difference/

【JavaScript】var / let / const を本気で使い分けてみた
https://qiita.com/cheez921/items/7b57835cb76e70dd0fc4

nan vs undefined vs null

undefinedとnullの違い
https://typescriptbook.jp/reference/values-types-variables/undefined-vs-null

NaN
https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/NaN

async と await

async/await 入門(JavaScript)
https://qiita.com/soarflat/items/1a9613e023200bbebcb3

Promise

4歳娘「パパ、Promiseやasync/awaitって何?」〜Promise編〜
https://qiita.com/Yametaro/items/0d29df53d9ac2a779595

onClickへの関数の渡し方とどう動くか

英語 : onClick anonymous function with arguments vs onClick(function(arguments))
https://stackoverflow.com/questions/63455337/onclick-anonymous-function-with-arguments-vs-onclickfunctionarguments?noredirect=1&lq=1

import と requireの違い

jsのimportとrequireの違い
https://qiita.com/minato-naka/items/39ecc285d1e37226a283

カリー化って何?

カリー化 | 中上級者になるためのJavaScript - kenju
https://kenju.gitbooks.io/js_step-up-to-intermediate/content/content/part03/currying.html

windowって何?

windowオブジェクト
https://qiita.com/tsukishimaao/items/39d22fd9178546d6cdeb

use strict;

モダンなモード, "use strict"
https://ja.javascript.info/strict-mode

this?bind?

英語 : What is the use of the JavaScript 'bind' method?
https://stackoverflow.com/a/10115970

日本語 : 【JavaScript】Function.prototype.bind() とthis束縛の歴史
https://inside.estie.co.jp/entry/javascript-bind-this

globalThisとは?

globalThis
https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/globalThis

クロージャー

JavaScriptでクロージャ入門。関数はすべてクロージャ?
https://qiita.com/takeharu/items/4975031faf6f7baf077a

JavaScriptの周辺知識

ECMA Scriptって何? ES6って?

ECMAScript
https://ja.wikipedia.org/wiki/ECMAScript

V8エンジン

V8 エンジンについて
https://zenn.dev/estra/books/js-async-promise-chain-event-loop/viewer/e-epasync-v8-engine

46
65
4

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
46
65