Skip to content

Instantly share code, notes, and snippets.

@bennybennet
Created July 29, 2015 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bennybennet/2a6751e353e4697ea242 to your computer and use it in GitHub Desktop.
Save bennybennet/2a6751e353e4697ea242 to your computer and use it in GitHub Desktop.
// !-- /app/test.js
var test = [];
export { test };
// !-- file.js
import { test } from "./app/test";
test.a[0] = "h";
// !-- file2.js
import { test } from "./app/test";
test.a[0] === "h"; // IS THIS CORRECT?
@bennybennet
Copy link
Author

getify (@getify) twitterte um 3:28 nachm. on Mi., Juli 29, 2015:
@bennybennet @rauschma AFAICT, that's correct.
(https://twitter.com/getify/status/626383851527340037?s=03)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment