provides tutorials on computer technologies.
25 followers 0 articles/week
test2

console.log(“sandeep”) jhlllllllllsss111 import React from ‘react’; class WeatherComponent extends React.Component { constructor(props) { super(props); this.state = { weather: “Sunny”, }; } //LifeCycle method 1 componentWillMount(){ console.log(“inside componentWillMount...

Sun Oct 9, 2022 17:21
Java 8 Nashorn

Nashorn is the JavaScript engine provided with the Java 8. It allows developers to embed JavaScript code inside their Java applications. Working with Nashorn command-line The command for running the JavaScript from the command line is jjs.To use jjs we have to add the path to jjs.In Windows, we have to add $JAVA_HOME/bin path to environment variable....

Tue Aug 29, 2017 08:38
questions

Q. Find Factorial of a number?//0 =1 , 1 =1 , 2 =2 , 3 =6 function fact(n){ return n === 0 ? 1 : n *fact(n-1) ; } Q. Find nth Fibonacci number? //0,1,1,2,3,5,8,13,21 function fib(n){ return n } The post questions appeared first on Tutorial Savvy.

Sun Jul 30, 2017 17:01
Introducing Window performance API

Performance API provides helpful numbers to measure performance of a webpage. In this demo, “We will learn about performance API”. This performance object can be accessible using window.performance object.The following screenshot shows the object model of window.performance object. In the previous screenshot you can see 3 performance propertied...

Mon Nov 21, 2016 04:56
ReactJS ShouldComponentUpdate Life Cycle method

ReactJS component has 7 life cycle methods and has the callback for each phase of React component starting from loading to mounting to un-mounting. In this demo, “we will learn about shouldComponentUpdate lifecycle methods”. The following code chows the use of all 7 lifecycle methods of React component. import React from 'react'; class WeatherComponent...

Sat Oct 15, 2016 05:06
ReactJS Event Handling In ES6 flavor

ReactJS support event handling using SyntheticEvents. These synthetic events are wrapper around Browser event.This wrapper provides cross browser supports. In this demo, “We will learn to use synthetic event in a ReactJS component”. The following code contains MyButtonComponent in ReactJS.In its render method a button is assigned with a click synthetic...

Mon Aug 29, 2016 03:04

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account