Does "use strict" apply to functions declared in a strict scope?

Viewed 372

I'm getting this in jshint,

[L16:C13] W034: Unnecessary directive "use strict".

However my question is does something like this work..

function () {
    "use strict";

    var a = function () {
        //stuff, (is this also strict)
    }

}

will stuff be strict too? Obviously something outside of the strict declaration won't be strict. But do other functions inside start out non-strict or inherit the strictness?

1 Answers
Related