4 ms·
Well, a novice coder wouldn't know that. The end behavior isn't going to be any different than writing to localStorage (nothing can run until it's done), right?
by baron816 9y ago
Well, a novice coder wouldn't know that. The end behavior isn't going to be any different than writing to localStorage (nothing can run until it's done), right? And you very well could move that code to a different thread via a web worker, couldn't you? So if it walks like a duck, and it blocks like a duck...
- jayflux 9y ago> Well, a novice coder wouldn't know that Yup, I know, that's why I gave an explanation :) > And you very well could move that code to a different thread via a web worker, couldn't you? localStorage is not thread safe, so no probably not.