davidflanagan / jstdg7 Goto Github PK
View Code? Open in Web Editor NEWExample code from the book JavaScript: The Definitive Guide, 7th Edition
License: Other
Example code from the book JavaScript: The Definitive Guide, 7th Edition
License: Other
Hi-I'm immensely thankful for this book, of which I've used version 6 and version 7. I was implementing the cleaner version of IndexedDB that appears in version 7 today, and noticed that in safari, I ran into a Not Found Error: Store Not Found IndexedDB API issue when the db shared the same name as the store that was being created.
I found that making the database name unique (appending "_db") solved the problem.
The current clock2.js that seems "to be corrected" still have an issue. The timing is right but calling the next() method sequentially all returns the same value of the count variable due to the closure.
Tested in Chrome browser version 108.0.5359.125
Iv'e read through chapter 12 and encountered this line
I wondered why the for(;;)
needed, I tried to search around the web but couldn't find reasonable answer.
the iterators chapter covers .next() and the generators chapter covers .throw() but I need to at least mention the .return() method of an iterator and the fact that for/of and ... call it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.