Skip to content
  • Twitter
  • Facebook
  • GitHub
  • WordPress.com
yoUVcode

…Knowledge shared = 2 x Knowledge

  • Home
  • Angular
    • Angular
    • AngularJS (Angular 1)
  • Java
    • JDK9 Features
    • Java Advance Concepts
  • UI UX Development
    • HTML
    • CSS
    • Javascript
  • JavaScript
    • Angular
      • Angular
      • AngularJS (Angular 1)
    • Vue JS / Nuxt JS
    • jQuery
    • GruntJS – Javascript task runner
    • ReactJS
  • Interview Questions
    • Angular Qs
    • Aptitude
    • Git : Version control
    • Java Qs
    • Javascript Qs
    • PHP Qs
    • UI/UX
  • Other(s)
    • Adobe Flex & Action script 3
    • Hibernate
    • IDE Tricks
    • MySQL
    • Oracle SQL/PL-SQL
    • PHP
    • Servers
  • Contact

Category: Javascript Qs

remove-duplicates-from-javascript-arrays-using-set-in-ES6

How to remove duplicates from JS array using Set in ES6

September 26, 2020 Umang Parekh

We can remove duplicates from an JS array using multiple ways like set, filter and reduce JS functions. In this article, We will demonstrate the

Continue reading

How to Justify text in pdf using jsPDF!

July 16, 2019 Vinay Gulati

In this example we will show how to justify text in jsPDF. We have created an html page which can be exported to pdf on ‘Export to PDF’ button click. JSFiddle is also available

Continue reading

How to determine if the variable is undefined or null in Javascript?

July 16, 2019 youvcode

How to determine if the variable is undefined or null in JavaScript? The easiest way is to check if the variable is

Continue reading

Export web page to pdf using jsPDF

July 5, 2019 youvcode

sPDF is a client side Javascript PDF generator. In this example, we will show a simple example to export a web page on button click.

Continue reading

‘use strict’ in Javascript

October 9, 2018 youvcode

‘use strict’ is literal expression which was introduced in ECMAScript 2015. Basically, when you use ‘use strict’ it tells the Browser to execute code into

Continue reading

Javascript Hoisting : Variable Hoisting

October 8, 2018 youvcode

Hoisting is Javascript’s default behavior of moving declarations to top of the file. There are two types of Hoisting is there: Variable Hoisting Function Hoisting

Continue reading

How to check if JavaScript Object is empty or not/How to check if Javascript Array object is empty or not

August 31, 2018 youvcode

While working with Javascript sometimes you have to check if a Javascript object/array is empty or it contains some keys/objects. To check if JavaScript Array

Continue reading

Difference between var and let in Javascript

March 28, 2018 youvcode

Main difference between var and let is Scoping. var keyword: var declare variable and optionally initialize the variable to a value. Syntax: var declarations, wherever it

Continue reading

Check if element is visible or hidden in jQuery?

February 1, 2018 youvcode

Check if element is visible or hidden in jQuery? The below code will help to identify if the element is visible or not:

Continue reading

How to add an Array of classes to an element using jQuery? Ex. Add different color to different using [array]

January 25, 2018 youvcode

With jQuery 3.3.0, the .addClass(), .removeClass(), and .toggleClass() methods accept an array of classes. We will see how to add different color to n number of div elements on

Continue reading

Immediately-Invoked Function Expression ( IIFE )

December 19, 2017 youvcode

It executes immediately after it’s created. It has nothing to do with any event-handler for any events (such as document.onload). The first pair of parentheses (function(){…}) turns the

Continue reading

Difference between == and === in Javascript

October 27, 2017 youvcode

While conducting interview for a Front end developer perspective, It is essential to know the difference between == and === comparisons operators in Javascript. Javascript

Continue reading

Top Posts Today

  • Minimum Deletion Cost to Avoid Repeating Letters
  • How to Justify text in pdf using jsPDF!
  • npm ERR! Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN while installing packages using npm in NodeJs command prompt
  • Export web page to pdf using jsPDF
  • Java 9 : JShell (REPL) feature

Tags

Angular Angular 4 Angular Basics AngularCLI Angular Directive AngularJS AngularJS Framework angularJS Interview question array array_reverse() Associative Array Best Practice CSS Database dom Eclipse Eclipse IDE Eclipse Tricks ECMAscript 2015 Error Errors ES5 ES6 export web-page Git HTML HTML5 IDE interface Interview Questions InterviewQuestions Introduction Java Java collections Java Interview Question Java Programming Javascript javascript basics Javascript Interview Questions List Machine Learning nodejs npm OOPs PDF generator php PHP Interview Questions Programming Python Tutorial

Blog Stats

  • 44,682 hits

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 58 other subscribers

About yoUVcode

yoUVcode.com is a blog for Java and AngularJS developers.

All examples are simple, easy to understand and well tested before publishing.

Authors

yoUVcode.com is created, written and maintained by
Umang Parekh, Vinay Gulati & Saurabh Dwivedi.

 

Archives

Categories

  • Twitter
  • Facebook
  • GitHub
  • WordPress.com
 

Loading Comments...