Magic number detection for JavaScript