janl / mustache.js

Minimal templating with {{mustaches}} in JavaScript

Home Page:https://mustache.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question: cache[cacheKey]

urain39 opened this issue · comments

var tokens = cache[cacheKey];

if (tokens == null)

Why not if (!tokens), may tokens = cache[cacheKey] returns undefined?

emmmm, undefined == null -> true