getify / You-Dont-Know-JS

A book series on JavaScript. @YDKJS on twitter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Function name capitalization throws error.

adamyala opened this issue · comments

I already searched for this issue.

Edition: 2nd

Book Title: Scope & Closures

Chapter: Appendix A: Exploring Further

Section Title: Are Synchronous Callbacks Still Closures?

Problem: Function name capitalization throws error. document.getElementByID should be document.getElementById, note the lowercase d at the end. document.createELement should be document.createElement, note the lowercase l.

Link to file: https://github.com/getify/You-Dont-Know-JS/blob/fcbd9b8d965f9c97508906c5739d4e919b067b0d/scope-closures/apA.md#synchronous-closure

Would a PR be welcome to adjust the capitalization? I saw #416 from long ago. If a PR is welcome, I'm happy to make one.

As always, thank you for creating an amazing resource to learn from. Reading it has been a joy.

Yes PR welcome for those fixes. Thanks!