Skip to content

Instantly share code, notes, and snippets.

@kpuputti
Created May 11, 2012 13:27
Show Gist options
  • Save kpuputti/2659607 to your computer and use it in GitHub Desktop.
Save kpuputti/2659607 to your computer and use it in GitHub Desktop.
JSLint bug or feature?
(function () {
'use strict';
var func1 = function () {},
func2 = function (callback) { callback(); };
// JSLint does not complain about the lines below
func2(func1.
invalid);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment