“JS Консоль” Ответ

Afficher une переменная Dans la Консоль JavaScript

console.log("Kiwi");
>> Kiwi
console.log(3+3);
>> 6
var fruit = "kiwis";
var mavariable = "J'aime les "+fruit;
console.log(mavariable);
>> J'aime les kiwis
Shy Starling

JavaScript Console

// our string
let string = 'ABCDEFG';

// splits every letter in string into an item in our array
let newArray = string.split('');

console.log(newArray);
Defeated Dog

JS Консоль

   this is the console
Silly Snail

JS Консоль

console.log("Text"); //Shows some text in the console.
console.warn("Warning!"); //Displays a Warning in the console
console.error("Error!"); //Displays an Error in the console.

//Example (On Value Displays)
var Value = 69;
console.log(Value); //Displays '69' in the console.
console.log("The Value Is " + Value + "!"); //Displays 'The Value Is 69!' in the console.
Determined Programmer

Для чего работает консоль в JS

The Console can be used to log information as part of the JavaScript development process, as well as allow you to interact with a web page by carrying out JavaScript expressions within the page's context. Essentially, the Console provides you with the ability to write, manage, and monitor JavaScript on demand
Smoggy Skunk

Ответы похожие на “JS Консоль”

Вопросы похожие на “JS Консоль”

Больше похожих ответов на “JS Консоль” по JavaScript

Смотреть популярные ответы по языку

Смотреть другие языки программирования