Tell us what’s happening:
So this is the suggested solution:
import * as str from “capitalize_strings”;
But nowhere in the challenge does it state that the obj name to be used is “str”. It says use the “given object” but doesn’t say “str” anywhere.
So I would have thought this would work:
import * as anyOtherObjName from “capitalize_strings”;
Your code so far
“use strict”;
import * as str from “capitalize_strings”;
**Your browser information:**
User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15</code>.
**Link to the challenge:**
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/use--to-import-everything-from-a-file