From 44d019116162b00c2093cae9f4ac4ef18b5d002f Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 10 Mar 2021 13:44:26 +0000 Subject: [PATCH] chore(release): 1.21.0 [skip ci] # [1.21.0](https://github.com/denysdovhan/wtfjs/compare/v1.20.1...v1.21.0) (2021-03-10) ### Features * Korean translation ([#201](https://github.com/denysdovhan/wtfjs/issues/201)) ([58cc055](https://github.com/denysdovhan/wtfjs/commit/58cc0552cb4327fe7cc38782ebc4937597c930c7)), closes [#174](https://github.com/denysdovhan/wtfjs/issues/174) --- README-kr.md | 114 +++++++++++++++++++++++----------------------- README.md | 73 ++++++++++++----------------- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 87 insertions(+), 104 deletions(-) diff --git a/README-kr.md b/README-kr.md index e8f6e7b..e4ed55a 100644 --- a/README-kr.md +++ b/README-kr.md @@ -45,67 +45,67 @@ $ npm install -g wtfjs -# λͺ©μ°¨ +# Table of Contents -- [πŸ’ͺ🏻 μ‹œμž‘ν•˜κΈ°μ— μ•žμ„œ](#-motivation) -- [✍🏻 ν‘œκΈ°λ²•](#-notation) -- [πŸ‘€ 예제](#-examples) - - [`[]`와 `![]`은 κ°™λ‹€](#-is-equal-) - - [`true`λŠ” `![]`와 κ°™μ§€ μ•Šμ§€λ§Œ, `[]` 이와도 κ°™μ§€ μ•Šλ‹€](#true-is-not-equal--but-not-equal--too) - - [trueλŠ” false이닀](#true-is-false) +- [πŸ’ͺ🏻 μ‹œμž‘ν•˜κΈ°μ— μ•žμ„œ](#-%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0%EC%97%90-%EC%95%9E%EC%84%9C) +- [✍🏻 ν‘œκΈ°λ²•](#-%ED%91%9C%EA%B8%B0%EB%B2%95) +- [πŸ‘€ 예제](#-%EC%98%88%EC%A0%9C) + - [`[]`와 `![]은 κ°™λ‹€`](#%EC%99%80-%EC%9D%80-%EA%B0%99%EB%8B%A4) + - [`true`λŠ” `![]`와 κ°™μ§€ μ•Šμ§€λ§Œ, `[]` 이와도 κ°™μ§€ μ•Šλ‹€](#true%EB%8A%94-%EC%99%80-%EA%B0%99%EC%A7%80-%EC%95%8A%EC%A7%80%EB%A7%8C--%EC%9D%B4%EC%99%80%EB%8F%84-%EA%B0%99%EC%A7%80-%EC%95%8A%EB%8B%A4) + - [true 은 false](#true-%EC%9D%80-false) - [baNaNa](#banana) - - [`NaN`은 `NaN`이 μ•„λ‹ˆλ‹€](#nan-is-not-a-nan) - - [이것은 μ‹€νŒ¨λ‹€](#its-a-fail) - - [`[]`은 truthyμ΄μ§€λ§Œ `true`은 μ•„λ‹ˆλ‹€](#-is-truthy-but-not-true) - - [`null`은 falsyμ΄μ§€λ§Œ `false`은 μ•„λ‹ˆλ‹€](#null-is-falsy-but-not-false) - - [`document.all`은 κ°μ²΄μ΄μ§€λ§Œ μ •μ˜λ˜μ§€ μ•Šμ•˜λ‹€](#documentall-is-an-object-but-it-is-undefined) - - [μ΅œμ†Œ 값은 0보닀 크닀](#minimal-value-is-greater-than-zero) - - [ν•¨μˆ˜λŠ” ν•¨μˆ˜κ°€ μ•„λ‹ˆλ‹€](#function-is-not-a-function) - - [λ°°μ—΄ μΆ”κ°€](#adding-arrays) - - [λ°°μ—΄μ—μ„œ ν›„ν–‰ ](#trailing-commas-in-array) - - [λ°°μ—΄ 평등은 ](#array-equality-is-a-monster) - - [`undefined`κ³Ό `Number`](#undefined-and-number) - - [`parseInt`은 λ‚˜μœ λ†ˆμ΄λ‹€](#parseint-is-a-bad-guy) - - [`true`와 `false`λ₯Ό μ΄μš©ν•œ μˆ˜ν•™](#math-with-true-and-false) - - [HTML 주석은 JavaScriptμ—μ„œλ„ μœ νš¨ν•˜λ‹€](#html-comments-are-valid-in-javascript) - - [`NaN`은 μˆ«μžκ°€ μ•„λ‹ˆλ‹€](#nan-is-not-a-number) - - [`[]`κ³Ό `null`은 객체이닀](#-and-null-are-objects) - - [λ§ˆλ²•μ²˜λŸΌ μ¦κ°€ν•˜λŠ” 숫자](#magically-increasing-numbers) - - [정확도 `0.1 + 0.2`](#precision-of-01--02) - - [패치 번호](#patching-numbers) - - [μ„Έ 숫자의 비ꡐ](#comparison-of-three-numbers) - - [μž¬λ―ΈμžˆλŠ” μˆ˜ν•™](#funny-math) - - [RegExps μΆ”κ°€](#addition-of-regexps) - - [λ¬Έμžμ—΄μ€ `String`의 μΈμŠ€ν„΄μŠ€κ°€ μ•„λ‹ˆλ‹€](#strings-arent-instances-of-string) - - [backticks으둜 ν•¨μˆ˜ 호좜](#calling-functions-with-backticks) + - [`NaN`은 `NaN`이 μ•„λ‹ˆλ‹€](#nan%EC%9D%80-nan%EC%9D%B4-%EC%95%84%EB%8B%88%EB%8B%A4) + - [이것은 μ‹€νŒ¨λ‹€](#%EC%9D%B4%EA%B2%83%EC%9D%80-%EC%8B%A4%ED%8C%A8%EB%8B%A4) + - [`[]`은 truthy μ΄μ§€λ§Œ `true`λŠ” μ•„λ‹ˆλ‹€](#%EC%9D%80-truthy-%EC%9D%B4%EC%A7%80%EB%A7%8C-true%EB%8A%94-%EC%95%84%EB%8B%88%EB%8B%A4) + - [`null`은 falsy μ΄μ§€λ§Œ `false`은 μ•„λ‹ˆλ‹€](#null%EC%9D%80-falsy-%EC%9D%B4%EC%A7%80%EB%A7%8C-false%EC%9D%80-%EC%95%84%EB%8B%88%EB%8B%A4) + - [`document.all`은 κ°μ²΄μ΄μ§€λ§Œ `undefined` 이닀](#documentall%EC%9D%80-%EA%B0%9D%EC%B2%B4%EC%9D%B4%EC%A7%80%EB%A7%8C-undefined-%EC%9D%B4%EB%8B%A4) + - [μ΅œμ†Œ 값은 0 보닀 크닀](#%EC%B5%9C%EC%86%8C-%EA%B0%92%EC%9D%80-0-%EB%B3%B4%EB%8B%A4-%ED%81%AC%EB%8B%A4) + - [ν•¨μˆ˜λŠ” ν•¨μˆ˜κ°€ μ•„λ‹ˆλ‹€](#%ED%95%A8%EC%88%98%EB%8A%94-%ED%95%A8%EC%88%98%EA%B0%80-%EC%95%84%EB%8B%88%EB%8B%A4) + - [λ°°μ—΄ μΆ”κ°€](#%EB%B0%B0%EC%97%B4-%EC%B6%94%EA%B0%80) + - [λ°°μ—΄μ˜ ν›„ν–‰ μ‰Όν‘œ](#%EB%B0%B0%EC%97%B4%EC%9D%98-%ED%9B%84%ED%96%89-%EC%89%BC%ED%91%9C) + - [λ°°μ—΄ 평등은 λͺ¬μŠ€ν„°](#%EB%B0%B0%EC%97%B4-%ED%8F%89%EB%93%B1%EC%9D%80-%EB%AA%AC%EC%8A%A4%ED%84%B0) + - [`undefined`κ³Ό `Number`](#undefined%EA%B3%BC-number) + - [`parseInt`은 λ‚˜μœ λ†ˆμ΄λ‹€](#parseint%EC%9D%80-%EB%82%98%EC%81%9C-%EB%86%88%EC%9D%B4%EB%8B%A4) + - [`true`와 `false`λ₯Ό μ΄μš©ν•œ μˆ˜ν•™](#true%EC%99%80-false%EB%A5%BC-%EC%9D%B4%EC%9A%A9%ED%95%9C-%EC%88%98%ED%95%99) + - [HTML 주석은 JavaScript μ—μ„œλ„ μœ νš¨ν•˜λ‹€](#html-%EC%A3%BC%EC%84%9D%EC%9D%80-javascript-%EC%97%90%EC%84%9C%EB%8F%84-%EC%9C%A0%ED%9A%A8%ED%95%98%EB%8B%A4) + - [`NaN`은 μˆ«μžκ°€ μ•„λ‹ˆλ‹€](#nan%EC%9D%80-%EC%88%AB%EC%9E%90%EA%B0%80-%EC%95%84%EB%8B%88%EB%8B%A4) + - [`[]`κ³Ό `null`은 객체이닀](#%EA%B3%BC-null%EC%9D%80-%EA%B0%9D%EC%B2%B4%EC%9D%B4%EB%8B%A4) + - [λ§ˆλ²•μ²˜λŸΌ μ¦κ°€ν•˜λŠ” 숫자](#%EB%A7%88%EB%B2%95%EC%B2%98%EB%9F%BC-%EC%A6%9D%EA%B0%80%ED%95%98%EB%8A%94-%EC%88%AB%EC%9E%90) + - [정확도 `0.1 + 0.2`](#%EC%A0%95%ED%99%95%EB%8F%84-01--02) + - [패치 번호](#%ED%8C%A8%EC%B9%98-%EB%B2%88%ED%98%B8) + - [μ„Έ 숫자의 비ꡐ](#%EC%84%B8-%EC%88%AB%EC%9E%90%EC%9D%98-%EB%B9%84%EA%B5%90) + - [μž¬λ―ΈμžˆλŠ” μˆ˜ν•™](#%EC%9E%AC%EB%AF%B8%EC%9E%88%EB%8A%94-%EC%88%98%ED%95%99) + - [RegExps μΆ”κ°€](#regexps-%EC%B6%94%EA%B0%80) + - [λ¬Έμžμ—΄μ€ `String`의 μΈμŠ€ν„΄μŠ€κ°€ μ•„λ‹ˆλ‹€](#%EB%AC%B8%EC%9E%90%EC%97%B4%EC%9D%80-string%EC%9D%98-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4%EA%B0%80-%EC%95%84%EB%8B%88%EB%8B%A4) + - [backticks 으둜 ν•¨μˆ˜ 호좜](#backticks-%EC%9C%BC%EB%A1%9C-%ED%95%A8%EC%88%98-%ED%98%B8%EC%B6%9C) - [Call call call](#call-call-call) - - [`constructor` 속성](#a-constructor-property) - - [객체 μ†μ„±μ˜ ν‚€λ‘œμ„œμ˜ 객체](#object-as-a-key-of-objects-property) - - [`__proto__`을 μ‚¬μš©ν•œ ν”„λ‘œν†  νƒ€μž… μ ‘κ·Ό](#accessing-prototypes-with-__proto__) + - [`constructor` 속성](#constructor-%EC%86%8D%EC%84%B1) + - [객체 μ†μ„±μ˜ ν‚€λ‘œμ„œμ˜ 객체](#%EA%B0%9D%EC%B2%B4-%EC%86%8D%EC%84%B1%EC%9D%98-%ED%82%A4%EB%A1%9C%EC%84%9C%EC%9D%98-%EA%B0%9D%EC%B2%B4) + - [`__proto__`을 μ‚¬μš©ν•œ ν”„λ‘œν†  νƒ€μž… μ ‘κ·Ό](#__proto__%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%9C-%ED%94%84%EB%A1%9C%ED%86%A0-%ED%83%80%EC%9E%85-%EC%A0%91%EA%B7%BC) - [`` `${{Object}}` ``](#-object-) - - [λ””ν΄νŠΈ κ°’μœΌλ‘œ ꡬ쑰 ν•΄μ œ](#destructuring-with-default-values) - - [Dotsκ³Ό spreading](#dots-and-spreading) - - [라벨](#labels) - - [쀑첩 라벨](#nested-labels) - - [κ΅ν™œν•œ `try..catch`](#insidious-trycatch) - - [이것은 닀쀑 상속인가?](#is-this-multiple-inheritance) - - [A generator which yields itself](#a-generator-which-yields-itself) - - [클래슀의 클래슀](#a-class-of-class) - - [κ°•μ œ ν•  수 μ—†λŠ” 객체](#non-coercible-objects) - - [κΉŒλ‹€λ‘œμš΄ ν™”μ‚΄ν‘œ ν•¨μˆ˜](#tricky-arrow-functions) - - [ν™”μ‚΄ν‘œ ν•¨μˆ˜λŠ” μƒμ„±μžκ°€ 될 수 μ—†λ‹€](#arrow-functions-can-not-be-a-constructor) - - [`arguments`κ³Ό ν™”μ‚΄ν‘œ ν•¨μˆ˜](#arguments-and-arrow-functions) - - [κΉŒλ‹€λ‘œμš΄ return](#tricky-return) - - [객체에 ν• λ‹Ή μ—°κ²°](#chaining-assignments-on-object) - - [배열을 μ‚¬μš©ν•œ 객체 속성 μ—‘μ„ΈμŠ€](#accessing-object-properties-with-arrays) - - [Null 및 관계 μ—°μ‚°μž](#null-and-relational-operators) - - [`Number.toFixed()` λ‹€λ₯Έ 숫자 ν‘œμ‹œ](#numbertofixed-display-different-numbers) - - [`Math.max()` μ΄ν•˜ `Math.min()`](#mathmax-less-than-mathmin) - - [`null`κ³Ό `0` 비ꡐ](#comparing-null-to-0) - - [λ™μΌν•œ λ³€μˆ˜ 재 μ„ μ–Έ](#same-variable-redeclaration) - - [λ””ν΄νŠΈ λ™μž‘ Array.prototype.sort()](#default-behavior-arrayprototypesort) - - [resolve()은 Promise instanceλ₯Ό λ°˜ν™˜ν•˜μ§€ μ•ŠλŠ”λ‹€](#resolve-wont-return-promise-instance) -- [πŸ“š 기타 resources](#-other-resources) + - [λ””ν΄νŠΈ κ°’μœΌλ‘œ ꡬ쑰 ν•΄μ œ](#%EB%94%94%ED%8F%B4%ED%8A%B8-%EA%B0%92%EC%9C%BC%EB%A1%9C-%EA%B5%AC%EC%A1%B0-%ED%95%B4%EC%A0%9C) + - [Dots κ³Ό spreading](#dots-%EA%B3%BC-spreading) + - [라벨](#%EB%9D%BC%EB%B2%A8) + - [μ€‘μ²©λœ 라벨듀](#%EC%A4%91%EC%B2%A9%EB%90%9C-%EB%9D%BC%EB%B2%A8%EB%93%A4) + - [κ΅ν™œν•œ `try..catch`](#%EA%B5%90%ED%99%9C%ED%95%9C-trycatch) + - [이것은 닀쀑 상속인가?](#%EC%9D%B4%EA%B2%83%EC%9D%80-%EB%8B%A4%EC%A4%91-%EC%83%81%EC%86%8D%EC%9D%B8%EA%B0%80) + - [슀슀둜 μƒμ„±λ˜λŠ” Generator](#%EC%8A%A4%EC%8A%A4%EB%A1%9C-%EC%83%9D%EC%84%B1%EB%90%98%EB%8A%94-generator) + - [클래슀의 클래슀](#%ED%81%B4%EB%9E%98%EC%8A%A4%EC%9D%98-%ED%81%B4%EB%9E%98%EC%8A%A4) + - [κ°•μ œν•  수 μ—†λŠ” 객체](#%EA%B0%95%EC%A0%9C%ED%95%A0-%EC%88%98-%EC%97%86%EB%8A%94-%EA%B0%9D%EC%B2%B4) + - [κΉŒλ‹€λ‘œμš΄ ν™”μ‚΄ν‘œ ν•¨μˆ˜](#%EA%B9%8C%EB%8B%A4%EB%A1%9C%EC%9A%B4-%ED%99%94%EC%82%B4%ED%91%9C-%ED%95%A8%EC%88%98) + - [ν™”μ‚΄ν‘œ ν•¨μˆ˜λŠ” μƒμ„±μžκ°€ 될 수 μ—†λ‹€](#%ED%99%94%EC%82%B4%ED%91%9C-%ED%95%A8%EC%88%98%EB%8A%94-%EC%83%9D%EC%84%B1%EC%9E%90%EA%B0%80-%EB%90%A0-%EC%88%98-%EC%97%86%EB%8B%A4) + - [`arguments`와 ν™”μ‚΄ν‘œ ν•¨μˆ˜](#arguments%EC%99%80-%ED%99%94%EC%82%B4%ED%91%9C-%ED%95%A8%EC%88%98) + - [κΉŒλ‹€λ‘œμš΄ return](#%EA%B9%8C%EB%8B%A4%EB%A1%9C%EC%9A%B4-return) + - [객체에 ν• λ‹Ή μ—°κ²°](#%EA%B0%9D%EC%B2%B4%EC%97%90-%ED%95%A0%EB%8B%B9-%EC%97%B0%EA%B2%B0) + - [배열을 μ‚¬μš©ν•œ 객체 속성 μ ‘κ·Ό s](#%EB%B0%B0%EC%97%B4%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%9C-%EA%B0%9D%EC%B2%B4-%EC%86%8D%EC%84%B1-%EC%A0%91%EA%B7%BC-s) + - [Null 및 관계 μ—°μ‚°μž](#null-%EB%B0%8F-%EA%B4%80%EA%B3%84-%EC%97%B0%EC%82%B0%EC%9E%90) + - [`Number.toFixed()` λ‹€λ₯Έ 숫자 ν‘œμ‹œ](#numbertofixed-%EB%8B%A4%EB%A5%B8-%EC%88%AB%EC%9E%90-%ED%91%9C%EC%8B%9C) + - [`Math.max()` μ΄ν•˜ `Math.min()`](#mathmax-%EC%9D%B4%ED%95%98-mathmin) + - [`null`κ³Ό `0` 비ꡐ](#null%EA%B3%BC-0-%EB%B9%84%EA%B5%90) + - [λ™μΌν•œ λ³€μˆ˜ μž¬μ„ μ–Έ](#%EB%8F%99%EC%9D%BC%ED%95%9C-%EB%B3%80%EC%88%98-%EC%9E%AC%EC%84%A0%EC%96%B8) + - [λ””ν΄νŠΈ λ™μž‘ Array.prototype.sort()](#%EB%94%94%ED%8F%B4%ED%8A%B8-%EB%8F%99%EC%9E%91-arrayprototypesort) + - [resolve()은 Promise instance λ₯Ό λ°˜ν™˜ν•˜μ§€ μ•ŠλŠ”λ‹€](#resolve%EC%9D%80-promise-instance-%EB%A5%BC-%EB%B0%98%ED%99%98%ED%95%98%EC%A7%80-%EC%95%8A%EB%8A%94%EB%8B%A4) +- [πŸ“š 기타 resources](#-%EA%B8%B0%ED%83%80-resources) - [πŸŽ“ License](#-license) diff --git a/README.md b/README.md index 5f099c9..6a270cd 100644 --- a/README.md +++ b/README.md @@ -51,93 +51,76 @@ Currently, there are these translations of **wtfjs**: # Table of Contents -- [What the f\*ck JavaScript?](#what-the-fck-javascript) -- [Node Packaged Manuscript](#node-packaged-manuscript) -- [Translations](#translations) -- [Table of Contents](#table-of-contents) - [πŸ’ͺ🏻 Motivation](#-motivation) - [✍🏻 Notation](#-notation) - [πŸ‘€ Examples](#-examples) - [`[]` is equal `![]`](#-is-equal-) - - [πŸ’‘ Explanation:](#-explanation) - [`true` is not equal `![]`, but not equal `[]` too](#true-is-not-equal--but-not-equal--too) - - [πŸ’‘ Explanation:](#-explanation-1) - [true is false](#true-is-false) - - [πŸ’‘ Explanation:](#-explanation-2) - [baNaNa](#banana) - - [πŸ’‘ Explanation:](#-explanation-3) - [`NaN` is not a `NaN`](#nan-is-not-a-nan) - - [πŸ’‘ Explanation:](#-explanation-4) - [`Object.is()` and `===` weird cases](#objectis-and--weird-cases) - - [πŸ’‘ Explanation:](#-explanation-5) - [It's a fail](#its-a-fail) - - [πŸ’‘ Explanation:](#-explanation-6) - [`[]` is truthy, but not `true`](#-is-truthy-but-not-true) - - [πŸ’‘ Explanation:](#-explanation-7) - [`null` is falsy, but not `false`](#null-is-falsy-but-not-false) - - [πŸ’‘ Explanation:](#-explanation-8) - [`document.all` is an object, but it is undefined](#documentall-is-an-object-but-it-is-undefined) - - [πŸ’‘ Explanation:](#-explanation-9) - [Minimal value is greater than zero](#minimal-value-is-greater-than-zero) - - [πŸ’‘ Explanation:](#-explanation-10) - [function is not a function](#function-is-not-a-function) - - [πŸ’‘ Explanation:](#-explanation-11) - - [Super constructor null of Foo is not a constructor](#super-constructor-null-of-foo-is-not-a-constructor) - - [πŸ’‘ Explanation:](#-explanation-12) - [Adding arrays](#adding-arrays) - - [πŸ’‘ Explanation:](#-explanation-13) - [Trailing commas in array](#trailing-commas-in-array) - - [πŸ’‘ Explanation:](#-explanation-14) - [Array equality is a monster](#array-equality-is-a-monster) - - [πŸ’‘ Explanation:](#-explanation-15) - [`undefined` and `Number`](#undefined-and-number) - - [πŸ’‘ Explanation:](#-explanation-16) - [`parseInt` is a bad guy](#parseint-is-a-bad-guy) - [Math with `true` and `false`](#math-with-true-and-false) - - [πŸ’‘ Explanation:](#-explanation-17) - [HTML comments are valid in JavaScript](#html-comments-are-valid-in-javascript) - - [πŸ’‘ Explanation:](#-explanation-18) + - [`NaN` is ~~not~~ a number](#nan-is-not-a-number) + - [`[]` and `null` are objects](#-and-null-are-objects) + - [Magically increasing numbers](#magically-increasing-numbers) + - [Precision of `0.1 + 0.2`](#precision-of-01--02) + - [Patching numbers](#patching-numbers) + - [Comparison of three numbers](#comparison-of-three-numbers) + - [Funny math](#funny-math) + - [Addition of RegExps](#addition-of-regexps) + - [Strings aren't instances of `String`](#strings-arent-instances-of-string) + - [Calling functions with backticks](#calling-functions-with-backticks) + - [Call call call](#call-call-call) + - [A `constructor` property](#a-constructor-property) + - [Object as a key of object's property](#object-as-a-key-of-objects-property) + - [Accessing prototypes with `__proto__`](#accessing-prototypes-with-__proto__) + - [`` `${{Object}}` ``](#-object-) + - [Destructuring with default values](#destructuring-with-default-values) + - [Dots and spreading](#dots-and-spreading) + - [Labels](#labels) + - [Nested labels](#nested-labels) + - [Insidious `try..catch`](#insidious-trycatch) + - [Is this multiple inheritance?](#is-this-multiple-inheritance) + - [A generator which yields itself](#a-generator-which-yields-itself) + - [A class of class](#a-class-of-class) + - [Non-coercible objects](#non-coercible-objects) + - [Tricky arrow functions](#tricky-arrow-functions) + - [Arrow functions can not be a constructor](#arrow-functions-can-not-be-a-constructor) + - [`arguments` and arrow functions](#arguments-and-arrow-functions) + - [Tricky return](#tricky-return) - [Chaining assignments on object](#chaining-assignments-on-object) - - [πŸ’‘ Explanation:](#-explanation-19) - [Accessing object properties with arrays](#accessing-object-properties-with-arrays) - - [πŸ’‘ Explanation:](#-explanation-20) - [Null and Relational Operators](#null-and-relational-operators) - - [πŸ’‘ Explanation:](#-explanation-21) - [`Number.toFixed()` display different numbers](#numbertofixed-display-different-numbers) - - [πŸ’‘ Explanation:](#-explanation-22) - [`Math.max()` less than `Math.min()`](#mathmax-less-than-mathmin) - - [πŸ’‘ Explanation:](#-explanation-23) - [Comparing `null` to `0`](#comparing-null-to-0) - - [πŸ’‘ Explanation:](#-explanation-24) - [Same variable redeclaration](#same-variable-redeclaration) - - [πŸ’‘ Explanation:](#-explanation-25) - [Default behavior Array.prototype.sort()](#default-behavior-arrayprototypesort) - - [πŸ’‘ Explanation:](#-explanation-26) - - [Hint](#hint) - [resolve() won't return Promise instance](#resolve-wont-return-promise-instance) - - [πŸ’‘ Explanation:](#-explanation-27) - [`{}{}` is undefined](#-is-undefined) - - [πŸ’‘ Explanation:](#-explanation-28) - [`min` is greater than `max`](#min-is-greater-than-max) - - [πŸ’‘ Explanation:](#-explanation-29) - [`arguments` binding](#arguments-binding) - - [πŸ’‘ Explanation:](#-explanation-30) - [An `alert` from hell](#an-alert-from-hell) - - [πŸ’‘ Explanation:](#-explanation-31) - [An infinite timeout](#an-infinite-timeout) - - [πŸ’‘ Explanation:](#-explanation-32) - [Double dot](#double-dot) - - [πŸ’‘ Explanation:](#-explanation-33) - [Extra Newness](#extra-newness) - - [πŸ’‘ Explanation:](#-explanation-34) - [Why you should use semicolons](#why-you-should-use-semicolons) - - [πŸ’‘ Explanation:](#-explanation-35) - [Split a string by a space](#split-a-string-by-a-space) - - [πŸ’‘ Explanation:](#-explanation-36) - [A stringified string](#a-stringified-string) - - [πŸ’‘ Explanation:](#-explanation-37) - [Non-strict comparison of a number to `true`](#non-strict-comparison-of-a-number-to-true) - - [πŸ’‘ Explanation:](#-explanation-38) - [πŸ“š Other resources](#-other-resources) - [🀝 Supporting](#-supporting) - [πŸŽ“ License](#-license) diff --git a/package-lock.json b/package-lock.json index 23a4a4f..a836822 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wtfjs", - "version": "1.20.1", + "version": "1.21.0", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 66067df..a48cc20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wtfjs", - "version": "1.20.1", + "version": "1.21.0", "description": "A list of funny and tricky JavaScript examples", "bin": { "wtfjs": "wtfjs.js"