Junior — Middle
Can you tell about your development experience using JavaScript?
sobes.tech AI
Answer from AI
I mainly worked with JavaScript for web application development and small scripts. I used modern standards ES6+, including arrow functions, promises, and async/await for asynchronous code. I am also familiar with DOM manipulations and event handling.
Example of a simple asynchronous request with fetch:
async function fetchData(url) {
try {
const response = await fetch(url);
if (!response.ok) throw new Error('Network error');
const data = await response.json();
console.log(data);
} catch (error) {
console.error('Error:', error);
}
}
fetchData('https://api.example.com/data');
Additionally, I have experience working with frameworks such as React for creating interactive user interfaces.