On 3/7/19 6:14 PM, rekt...@gmail.com wrote:
Is there any way to feature detect support for import() syntax?

In Firefox, yes, as far as I can tell:

  try {
    new Function("import('')");
    // supported
  } catch (e) {
    // not supported
  }

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to