Quantcast
Channel: JavaScript – Coyote Tracks
Browsing all 4 articles
Browse latest View live

Silly Coding Tricks: “Inverted” String Match

First things first: Never actually do this. This is just a fun curiosity, for amusement value only. Because of the way JavaScript’s search() method works, you can do: var my_url =...

View Article



Can jQuery Put Pressure On WebKit to Fix Bugs?

If you didn’t already know that Opera Software decided to toss its Presto rendering engine in favor of WebKit, just stop reading this post right now and go catch up on the past week of news in the...

View Article

Skipping Regexes in ES6 is Nothing Compared to Skipping Boolean-Comparison Warts

Yesterday, Wes Bos tweeted about ES6’s startsWith(), endsWith(), and includes() methods. He said it was “[t]hree less JavaScript Regexes you’ll have to write”. Which is true, but I feel it misses the...

View Article

On jQuery’s .data() Call Syntax

I recently had a developer on my team who had some trouble with jQuery’s $(...).data() syntax. In case anyone else has trouble, maybe I can clarify things a bit. I’m anonymizing all the code involved,...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images