Posts by Cezar Augusto • 241 points
3 posts
-
6
votes2
answers215
viewsA: What is the Javascript Cache class for?
According to the specification: The Object Cache represents a request Response list. Multiple Separate Objects implementing the Cache interface Across Documents and Workers can all be Associated…
javascriptanswered Cezar Augusto 241 -
0
votes1
answer434
viewsA: Json script with problem, Google Chrome locks and does not work in another browser
Starting with version 56, Chrome went on to warn about scripts loaded from insecure sources, ie via HTTP. To solve your problem, the query should be done using a secure resource (HTTPS). In your…
-
0
votes4
answers39
viewsA: Knowing which index of array values gives "match" with variable
Another solution in ES6 would be to use the method .some(). So you interrupt the loop as soon as the condition is satisfied: The some() method tests whether some of the elements in the array pass…