An free e-book entirely about JavaScript objects

Overview

Advanced JavaScript Objects

An e-book entirely about JavaScript objects

Cover

Chapters

Total length: 70 A4 pages.

Other resources

If you're looking for other resources on JavaScript, here's what I recommend:

License

This project is licensed under the MIT License - see the LICENSE file for details. All images were created by me. Feel free to steal them (same goes for everything else of course).

You might also like...

This is an app that displays a list of books, allow users add a book and remove a selected book.

BookStore This is an app that displays a list of books, allow users add a book and remove a selected book. Built With HTML CSS -React -Redux -JavaScri

Jul 22, 2022

The Bookstore is a website where the user can display a list of books, add a book by providing a title, an author, and selecting from the categories, and remove a selected book.

The Bookstore is a website where the user can display a list of books, add a book by providing a title, an author, and selecting from the categories, and remove a selected book.

Bookstore The Book Store is a website where the user can display a list of books, add a book and remove a selected book. Microverse's Bookstore API wa

Jan 1, 2023

Awesome Books project : An online Book Library. Storing book information using local storage and displaying it as a list on HTML page

This is project is my based on building an online Book Library. Storing book information using local storage and displaying it as a list on html page

Nov 11, 2022

A free book that talks about design patterns/techniques used while developing with React.

React in patterns 📚 A free book that talks about design patterns/techniques used while developing with React. Book GitBook Web PDF Mobi ePub Translat

Dec 30, 2022

Binary-encoded serialization of JavaScript objects with generator-based parser and serializer

YaBSON Schemaless binary-encoded serialization of JavaScript objects with generator-based parser and serializer This library is designed to transfer l

Aug 9, 2022

Awesome books: plain JavaScript with objects

Awesome books: plain JavaScript with objects Awesome books is an online book store. It's built with HTML, CSS and mostly JS based on a medium-fidelity

Aug 30, 2022

A JavaScript library improving inspection of objects

A JavaScript library improving inspection of objects

Pro Inspector A JavaScript utility improving inspection of objects on Node.js. Introduction Let's suppose that we have this declaration. class Person

Dec 30, 2022

A small library for turning RSS XML feeds into JavaScript objects

rss-parser A small library for turning RSS XML feeds into JavaScript objects. Installation npm install --save rss-parser Usage You can parse RSS from

Dec 31, 2022

This project will be a basic website that allows users to add/remove books from a list. The main objective is to understand how to use JavaScript objects and arrays and dynamically modify the DOM and add basic events.

Awesome-books Awesome Books This project will be a basic website that allows users to add/remove books from a list. This project is part of the Microv

Oct 3, 2022
Comments
  • Wrong statement that - The type of `null` is wrongly computed to be Object

    Wrong statement that - The type of `null` is wrongly computed to be Object

    https://github.com/carltheperson/advanced-js-objects/blob/b8d9217bcd80b2d1b1f35ba83bbc6e47de4152f2/chapters/chapter-1.md?plain=1#L212

    The type of null is wrongly computed to be Object. This is a bug that was introduced in the first implementation of JavaScript

    According to the specification, null primitive value that represents the intentional absence of any object value. It's not a mistake. And perfectly correct behavior.

    For two reasons:

    1. typeOf is a unary operator that does not return a "type" value.
    2. Null in JS is a type indicating that the current link is an object that has no structure defined. It is extremely important for the interpreter to know and understand the difference between undefined for referers and null for objects.

    A typical use case is when an API or function must return an object, but for some reason this cannot be done (for example, an error) in this case, the function must return null.

    This is exactly the same behavior as NaN for floating point numbers.

    The link https://2ality.com/2013/10/typeof-null.html brings a lot of confusion.

    1. "I think it is too late to fix typeof. The change proposed for typeof null will break existing code." This is not about JS code. Its about the C code that implements the work of JS in host.

    2. Null is lexically ambiguous. On the one hand, this is a primitive value. On the other hand, this is the Object. That is what is the problem. Not a bug in the code that led to the wrong answer.

      If you look at the code in post https://2ality.com/2013/10/typeof-null.html, you will see that there is no code that would report such a type as "null". It does not exist precisely because the logic of the operation of Null is the logic of the operation of the object.

    Here this post https://2ality.com/2013/05/history-undefined.html covers the problem more correctly.

    For this reason, it is completely wrong to say that typeof null === "object " is a mistake. Which is confirmed as the current specification. So is an explanation as to why Null has "two types".

    opened by demimurych 1
  • The typeof description is contrary to the specification.

    The typeof description is contrary to the specification.

    https://github.com/carltheperson/advanced-js-objects/blob/ffb99537d67f8d020c5f82feb677798f9a9a3aee/chapters/chapter-1.md?plain=1#L195

    Using the operator on a value produces a string that gives an indication of the type.

    The typeof operator does not specify a type. The unary typeof operator returns a string that is set according to various conditions. https://tc39.es/ecma262/#sec-typeof-operator

    Table - "Table 41: Operator Result Type" does not give all variants of conditions.

    A typical example is an object with an internal value of [[IsHTMLDDA]]. As a result of performing a type operation on such an object, the result will always be undefined.

    For this reason, it is incorrect to say that - typeof gives an indication of the type. This is misleading.

    opened by demimurych 1
Owner
Carl Riis
19-year-old high school dropout and self-taught software engineer.
Carl Riis
AweSome Book App displays the book details entered by user and saves the information in Local storage. User can add and remove a book title/author to the library and from the library.

Awesome Book App with ES6 Used npm init -y command to create package.json file. Created the entry point for the JavaScript code called index.js Create

Krishna Prasad Acharya 8 Aug 15, 2022
This is a single page web application that keeps tracks of books. Book details captured are the book title, author and ISBN. User can add a book, view a list of books and also remove any un wanted books.

Project Name This is a single page web application that keeps tracks of books. Book details captured are the book title, author and ISBN. User can add

Olivier 6 Nov 20, 2022
An open source, self-hosted, and entirely free solution to social media management.

An open source, self-hosted, and entirely free solution to social media management. Status ?? In Development ?? Shoutify is currently early in the dev

TechSquidTV 202 Dec 22, 2022
:books: The definitive guide to TypeScript and possibly the best TypeScript book :book:. Free and Open Source 🌹

TypeScript Deep Dive I've been looking at the issues that turn up commonly when people start using TypeScript. This is based on the lessons from Stack

Basarat Ali Syed 18.7k Jan 4, 2023
A nonsensical React application made (almost) entirely by GitHub Copilot

GitHub Copilot Demo This is a demo project for the GitHub Copilot project. The previous sentence was written by it! This is a (fairly ugly) timer app

Cassidy Williams 32 May 1, 2022
Generate fluid, custom property based design systems on the fly — entirely based on Utopia

Fluid Design Systems With Netlify On-demand Builders A proof of concept demonstrating how Netlify on-demand builders can help generate fluid, custom p

George Francis 53 Jan 5, 2023
Awesome-book is an online library website where a user can store a collection of books. Different book can be added and removed. Built with JavaScript using Dom

Awesome-book Description Awesome-book is an online library website where a user can store a collection of books. Differents book can be added and remo

tarike bouari 8 Sep 9, 2022
A single-page application that allows users to keep track of their books. Users can add the book details (book title and author) and also, and the books can also be removed. Built with JavaScript, HTML, and CSS

Project Name Awesome book with ES6 Description the project. This is a single page application that allows users to keep track of their books. Users ca

Micheal Oguntayo 4 Oct 13, 2022
The Bookstore is a website that allows the user to :display a list of books , Add a book and remove a selected book.

Book Store The Bookstore is a website that allows the user to : -Display a list of books. -Add a book. -Remove a selected book. Built With ?? Basic CS

Nedjwa Bouraiou 4 Sep 6, 2022
BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book.

Project Name : BookStore CMS BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book. In or

Chris Siku 10 Aug 22, 2022