Tell us what’s happening:
I don’t understand why it is saying this when i know my code is right: EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the following Content Security Policy directive: “default-src ‘self’ http: https: data: blob: ‘unsafe-inline’”.
Your code so far
var yourArray = ['one', 2, 'three', true, false, undefined, null];
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15
.
Challenge: Use an Array to Store a Collection of Data
Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-data-structures/use-an-array-to-store-a-collection-of-data