S(
Size: a a a
S(
S(
S(
Uncaught TypeError: Cannot read property 'target' of nullВ гугле пока что ничего внятного не нашёл
at e (sandboxed-default-document-end.js:15)
AK
S(
S(
S(
AS
AK
let xhr = new XMLHttpRequest();в результате получаю ошибку:
xhr.open('get', 'https://jsonplaceholder.typicode.com/comments?postId=1');
xhr.send();
Content Security Policy: The page’s settings blocked the loading of a resource at https://jsonplaceholder.typicode.com/comments?postId=1 (“default-src”).
А
let xhr = new XMLHttpRequest();в результате получаю ошибку:
xhr.open('get', 'https://jsonplaceholder.typicode.com/comments?postId=1');
xhr.send();
Content Security Policy: The page’s settings blocked the loading of a resource at https://jsonplaceholder.typicode.com/comments?postId=1 (“default-src”).
var marks = [];
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.open('GET', 'js/get/marks', true);
xhr.onload = function () {
marks = xhr.response;
};
xhr.send(null);
AK
var marks = [];
var xhr = new XMLHttpRequest();
xhr.responseType = 'json';
xhr.open('GET', 'js/get/marks', true);
xhr.onload = function () {
marks = xhr.response;
};
xhr.send(null);
А
AK
А
NG
function makeCounter() {
var currentCount = 1;
return function() {
return currentCount++;
};