Strict Mode in JavaScript works in frameworks?

2

I'm studying JavaScript and I came across Strict Mode ( use strict ). I would like to know if it works with JavaScript frameworks if I put this command in a .js file, or if it only works with pure JavaScript? Because it is supported only by the latest versions of some browsers, is it currently feasible to use it?

    
asked by anonymous 04.10.2015 / 22:03

1 answer

1

Depends on the case. But more modern frameworks are often compatible and even make extensive use in this way. The older ones have started to adapt but have to analyze case by case. jQuery and Angular JS are examples that work well.

You have to test and see, but the chance to work is great, after all, its use is a "good practice" in many situations.

Understanding Your Usage .

    
04.10.2015 / 22:35