LEARNING FOR LIFE

Get Yourself a Better Life! Free eLearning Download

  • Technical
    • Internet & Networking
    • Security & Hacking
    • AI | Artificial intelligence
    • OS & Server
    • WEB/HTML/CSS/AJAX
    • Database & SQL
    • Programming
    • Perl & PHP
    • .Net & Java
    • Mobile Development
    • C/C++/C#
    • Game Development
    • Unix & Linux
    • MAC OS X
    • Windows
    • OFFICE
    • Operation Systems
    • Hardware
  • Graphic & Media
    • Photography
    • 3D
    • Adobe Product Training
    • Art & Drawing & Painting
    • Film & Film Making
    • Game Designing
    • Music Training
    • Tutorials for designer
  • Business
    • Business & Investing
    • Writing & Affiliate
    • Marketing
    • Sales
    • Economics & Finances
    • Seo & Site Traffic
    • Stock & ForEX
  • Life Stype
    • Self Improvement | MP
    • Mindset | NLP
    • Fashion / Clothing / Grooming
    • Seduction
    • Fighting / Martial Arts
    • Food / Drink / Cooking
    • Health / Fitness / Massage
    • Languages / Accents
    • Magic / Illusions / Tricks
    • Psychology / Body Language
  • Engineering & Science
    • Cultures & History
    • Electrical & Architecture
    • Mathematics & Physics
    • Medical
  • Entertainment
    • Comic
    • Manga
    • Novel
    • Magazine
  • PC Game
    • Mac Game
    • Xbox Game
    • Play Station Game
Home » Ebooks & Tutorials » Technical » .Net & Java » FrontendMasters.com – Coercion in JavaScript [21 MP4]

FrontendMasters.com – Coercion in JavaScript [21 MP4]

16/02/2016 Learning for Life Leave a Comment

FrontendMasters.com – Coercion in JavaScript [21 MP4]
English | Size: 1.74 GB (1,863,927,594 bytes )
Category: Tutorial


Most people will cite coercion and the == operator as the black magic that should never show up in your programs. Not only is coercion much easier to learn and properly apply than you’ve believed, but avoiding it is missing out on important clarifications in style and readability of your code.

Table of Contents

Primitive Types

00:00 – 09:12 Introduction Kyle Simpson begins the course with a brief overview of what he’ll be covering throughout the course. He mentions a number of open source projects he maintains and the book series he is currently writing.
– http://getify.me , http://youdontknowjs.com

09:13 – 22:44 Additional Resources Before diving into the course. Kyle provides an array of resources for developers looking to further their javascript knowledge. These includes books, documentation sites, and information on using ES6. He also outlines the agenda for the course.

22:45 – 31:08 Primitive Types The javascript specification contains a number of primitive types. These types include Undefined, String, Number, Boolean, and Object. Primitive types are the bases for all variables declarations.

31:09 – 44:24 typeof While some argue that javascript does not have variable types, the typeof operator would suggest otherwise. The typeof operator can be used to returns a String representation of a value’s type. Kyle demonstrates the typeof operator and explains it’s sometimes confusing behavior.

44:25 – 55:58 Special Values: NaN Within the javascript primitive types, there are a number of special values. For example NaN (not a number), Infinity, or null could be used to represent a value. Kyle begins with an demonstration of NaN.

55:59 – 01:03:20 Special Values: Negative Zero Most mathematicians would agree there is no negative zero value. javascript would prove otherwise. Kyle demonstrates how you can get a negative zero value and how it may compares to a zero-value in javascript. He also talks about a new ES6 method that will check strict equality.

01:03:21 – 01:06:42 Special Values: Quiz Kyle gives the audience a quick quiz to check their knowledge about special values.
01:06:43 – 01:20:53 Natives In javascript, Natives are functions that will covert a value from one type to another. Kyle explains why he recommends never using the new keyword with Natives. He also gives a few examples of more complex Natives like RegExp and Date.

Coercion

01:20:54 – 01:31:18 ToString The ToString function is one of many abstract operations in javascript. This function will convert a value to a String representation. While some conversions are obvious, Kyle spends a few minutes demonstrating some of the more peculiar cases with Arrays and Objects.

01:31:19 – 01:42:10 ToNumber Just like the ToString function, the ToNumber function will convert one value to another. In this case, the conversion is to a number. While number conversions are fairly straight forward, Kyle covers some issues that can lead to larger pitfalls. He also drills a little deeper into how the toNumber coercion is performed behind the scenes.

01:42:11 – 01:46:11 ToBoolean When determining if something is false, the ToBoolean function references a list of “falsy” values. If the object in question is on that list, the result is false. If it isn’t on the list, the result is true. K

Implicit vs. Explicit Coercion

01:46:12 – 01:59:20 Explicit Coercion: Strings & Numbers Explicit coercion happens when it’s obvious from the code that one type is being converted to another. Kyle shares a few code examples demonstrating ways to explicitly coerce values from String to Numbers and vice versa .

01:59:21 – 02:11:47 Explicit Coercion: Booleans While using the Boolean() native function is Kyle’s preference, many developers will use a double negate (!!) to perform Boolean coercion. Kyle explains how this works and demonstrates a few other types of explicit coercion.

02:11:48 – 02:19:47 Implicit Coercion: Strings & Numbers Kyle defines implicit coercion as a side effect of some other operation. In other words, it’s not clear when looking at the code that coercion will occur. Kyle introduces implicit coercion with a few examples using String and Number values.

02:19:48 – 02:28:55 Implicit Coercion: Booleans I most cases, Boolean implicit coercion occurs when performing conditional logic. For example, using a Number or String variable inside an if statement. Kyle talks about Boolean implicit coercion and warns the audience about using a double-equal operator in a boolean comparison.

02:28:56 – 02:34:22 Double-Equal Issues As Kyle mentioned earlier, using a double-equal operator in a Boolean comparison can lead to issues. In some cases a Boolean conversion will occur. In other cases it will not. These inconsistencies are why Kyle recommends avoiding this usage.

02:34:23 – 02:46:02 Implicit Coercion: The Bad Parts Kyle walks through the worst possible offenders with implicit coercion. These are the cases where the result of the coercion is completely unexpected. He leaves the audience with a few practical takeaways and best practices.

02:46:03 – 02:49:31 Implicit Coercion: The Safe Parts While many developers believe implicit coercion to be evil, Kyle shares the opposite view. He gives a number of examples why it can be beneficial and leads to simplified code.

02:49:32 – 02:57:59 Double vs. Triple Equal The double-equal operator allows coercion in a comparison. The triple equal operator does not. Kyle walks through number of example demonstrating how the result of these two operators can differ.

02:58:00 – 03:11:07 Helpful Implicit Coercion Using the double-equal operator can be helpful. Kyle shares some pro-tips about how to determine when this operator should be use. He also talks about the performance impacts of coercion.

03:11:08 – 03:20:48 Coercion Resources & Surprises Kyle wraps up his coverage on coercion with a some helpful resources. He also talks a through a few last surprises he has discovered during his research on coercion.

Buy Long-term Premium Accounts To Support Me & Max Speed

DOWNLOAD:


http://rapidgator.net/file/1f1ce662c1d8968bf9ff8205eb9460a7/Frontend_Masters_-_Coercion_in_JavaScript.part1.rar.html
http://rapidgator.net/file/7c95d444cd469da97bb2ce1bbf6a7216/Frontend_Masters_-_Coercion_in_JavaScript.part2.rar.html
http://rapidgator.net/file/074d356d2a194001302f04fb68910fa8/Frontend_Masters_-_Coercion_in_JavaScript.part3.rar.html


http://nitroflare.com/view/6FF40389F98A1C0/Frontend_Masters_-_Coercion_in_JavaScript.part1.rar
http://nitroflare.com/view/817612FF32950D6/Frontend_Masters_-_Coercion_in_JavaScript.part2.rar
http://nitroflare.com/view/02E9EBEE1918CD1/Frontend_Masters_-_Coercion_in_JavaScript.part3.rar

If any links die or problem unrar, send request to http://goo.gl/aUHSZc

.Net & Java Coercion, Frontendmasters.com, JavaScript, MP4

← FrontendMasters.com – CSS3 In-Depth [43 MP4] FrontendMasters.com – Introduction to HTML5 and CSS3 [19 MP4] →

About Learning for Life

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • ChatGPT Image Generation: Complete Guide to AI Art Creation | Udemy
  • Introduction In Cyber Attack For Beginners | Udemy
  • AI Skills For Artists And Content Creators – Zero To Hero | Udemy
  • Udemy – 3D Trees with Blender Geometry Nodes
  • Coursera – Packt: TOTAL – CompTIA TechPlus FC0-U71

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

2019 2020 2021 2022 2023 2024 Advanced AWS Azure BBC Beginners BitBook BOOKWARE Certified Cisco Cloud Comic Complete Course Data Design eBook Fundamentals Guide Hybrid iLEARN Introduction JavaScript Learn Learning LinkedIn Linux Lynda Masterclass Microsoft Packt Pluralsight Programming Python Security Skillshare Training Udemy Using XQZT

Copyright © 2025 · Equilibre on Genesis Framework · WordPress · Log in