From 8420b8cea40188c37445b33e073ab94be72b53da Mon Sep 17 00:00:00 2001 From: skieurfoufou <92753283+skieurfoufou@users.noreply.github.com> Date: Mon, 12 Sep 2022 14:18:37 +0300 Subject: [PATCH] Add type conversion and type coercion resources (#1729) * Update 100-type-conversion-coercion.md * Update content/roadmaps/106-javascript/content/103-javascript-type-casting/100-type-conversion-coercion.md Co-authored-by: Kamran Ahmed --- .../100-type-conversion-coercion.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/103-javascript-type-casting/100-type-conversion-coercion.md b/content/roadmaps/106-javascript/content/103-javascript-type-casting/100-type-conversion-coercion.md index 5eb5d3b6e..15782818a 100644 --- a/content/roadmaps/106-javascript/content/103-javascript-type-casting/100-type-conversion-coercion.md +++ b/content/roadmaps/106-javascript/content/103-javascript-type-casting/100-type-conversion-coercion.md @@ -1 +1,6 @@ -# Type conversion coercion \ No newline at end of file +# Type Conversion/Coercion + +Type coercion is the automatic or implicit conversion of values from one data type to another (such as strings to numbers). Type conversion is similar to type coercion because they convert values from one data type to another with one key difference — type coercion is implicit. In contrast, type conversion can be either implicit or explicit. + +Type Conversion - MDN +Type Coercion - MDN