jalangi2
jalangi2 copied to clipboard
Document that strict mode semantics are not preserved by Jalangi
The following piece of code should print undefined, but prints the global object.
function f() {
"use strict";
console.log(this);
}
f();
We do not support strict mode due to inherent limitations of Jalangi 2. Jalangi 2 removes all occurrences of "use strict".
@ksen007 is this documented anywhere? Maybe we should document and then close this issue.
On Thu, Dec 1, 2016 at 8:51 AM Koushik Sen [email protected] wrote:
We do not support strict mode due to inherent limitations of Jalangi 2. Jalangi 2 removes all occurrences of "use strict".
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Samsung/jalangi2/issues/111#issuecomment-264227136, or mute the thread https://github.com/notifications/unsubscribe-auth/AALyUZoaaJ-zhKyUL1sdD-cweCWAHSElks5rDvsIgaJpZM4KOpli .
no. We should update README.
On Dec 1, 2016, at 8:52 AM, Manu Sridharan [email protected] wrote:
@ksen007 is this documented everywhere? Maybe we should document and then close this issue.
On Thu, Dec 1, 2016 at 8:51 AM Koushik Sen [email protected] wrote:
We do not support strict mode due to inherent limitations of Jalangi 2. Jalangi 2 removes all occurrences of "use strict".
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Samsung/jalangi2/issues/111#issuecomment-264227136, or mute the thread https://github.com/notifications/unsubscribe-auth/AALyUZoaaJ-zhKyUL1sdD-cweCWAHSElks5rDvsIgaJpZM4KOpli .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Samsung/jalangi2/issues/111#issuecomment-264227550, or mute the thread https://github.com/notifications/unsubscribe-auth/AAw0OausTR1gr7cad90awRT1BBcSfouZks5rDvthgaJpZM4KOpli.