This media is not supported in your browser
VIEW IN TELEGRAM
The rise and rise of #JavaScript
Forwarded from Web design & ๐ development
โ
Javascript Reduce method Example.
โซ๏ธ Finding the longest word in a given string.
#JavaScript
(๐) โข @WebsiteDesignLearningGroup
โซ๏ธ Finding the longest word in a given string.
function longerWord(a, b) {
if (a.length > b.length) {
return a;
} else {
return b;
}
}
const sentence = 'Hey there what are you doing this Wednesday night';
const longest = sentence.split(' ').reduce(longerWord);
console.log(longest);
// Wednesday
#JavaScript
(๐) โข @WebsiteDesignLearningGroup
โค12๐3
Javascript for Everything:
JS + React = Web Development
JS + Three.js = 3D Visualization
JS + Angular = Web Applications
JS + Phaser = Game Development
JS + Vue.js = Progressive Web Apps
JS + TensorFlow.js = Machine Learning
JS + Node.js = Server-Side Development
JS + Electron = DesktopApp Development
JS + React Native = MobileApp Development
#javascript
JS + React = Web Development
JS + Three.js = 3D Visualization
JS + Angular = Web Applications
JS + Phaser = Game Development
JS + Vue.js = Progressive Web Apps
JS + TensorFlow.js = Machine Learning
JS + Node.js = Server-Side Development
JS + Electron = DesktopApp Development
JS + React Native = MobileApp Development
#javascript
๐ฅ7โค1