The “use strict” is a directive, which is a literal expression. It introduced in JavaScript 1.8.5. As the name suggests, “use strict” indicates that the code is to be executed in strict mode. Under non-strict, the code won’t execute won’t execute in strict mode.Let us declare strict mode. To declare, add the keyword “use strict” in the beginning. For global scope, declare it at the beginning of the script. An error would come, since you have used a variable, but forgot to declare it Press F8 to see the error. "use strict"; a = 1;
In India, some of the reputed financial services companies in banking domain have started to offer value added low-value payment services to their esteemed customers. However, in European countries like Sweden, Norway, Denmark, and Belgium are quite used to this practice because more than 90% of payments happen through the digital mode. Riding a public bus, donating to a religious place, buying street food, newspapers all can be done via a Mobile app or via Cards. In fact, some of these businesses in like Restaurants, Petrol pumps are legally free to decline Cash payments from customers.The concept of E-money was ... Read More
What is Cloud Storage?Cloud Storage is a method to store, supervise and retrieve your files from data stored on cloud servers. Sticking your files in the cloud is a convenient way of managing data without the fear of losing it. Though it’s not so familiar idea for large number of people, most of the active internet users are already using these cloud storage services. The stored files can be accessed from your phone, tablet, desktop or any other device with an internet connection.Every cloud storage service gives you convincing offerings. But the question is which one to use?? Which one ... Read More
1 LG phone – 2 selfie cameras, 2 screensLG renames its flagship smartphone series to V10 . And it is unlike any other smartphone you would have seen. It is made from macho stainless steel and sports beastly specs of a Snapdragon 808 processor, 5.7 inch display with 2560*1440 resolution, 4GB RAM and a gigantic 3, 000 mAh battery.Ok, those impressive specs come to nothing when you actually find out LG has gone that extra mile to give you some more…, huh, extra. The V10 comes with 2 screens, 1 screen overlaid on top of the other. You might wonder why? ... Read More
JavaScript also has dynamic types. That would mean the same variable used for holding different data types in JavaScript.Example var val; val = "Amit"; document.write("String: "+val); val = 20; document.write("Number: "+val); val = 40.90; document.write("Number with decimals: "+val);
The most common problem faced by computer users is that they notice that their computer has become slow and sluggish. For less tech savvy users, they can call a technician for assistance or alter the specification to boost the performance.But remember this particular option is not only expensive but it does not provide immediate results. Even though you may not be a tech savvy person, but you can still follow few simple optimization techniques that you can apply to keep up the performance of your computer and make it good as new.Disk CleanupSimilar to physical cleaning by using mop and ... Read More
Artificial Intelligence (AI) is a growing topic in the technology and business world. Many of us interact with AI each day, whether it’s Siri (Apple), Alexa (Amazon), Google Assistance (Google), Watson (IBM), or many of the other services in our homes and mobile devices.There has been extensive research in this area and further research seems to be inevitable due to its ever growing demand. In this article, we will try to understand the changes in human thinking and evolution of AI and how herculean is the task of matching between them.Incorporating human brain into computer machines is not that easy ... Read More
Apple and Beats to Produce Wireless HeadphonesOkay, so the debate hasn’t ended there, when it’s Apple, there has to be drama. While enraged Apple users may want it all for themselves, a lighter phone and earphones, speculations are still going on for the speculation if the iPhone7 will has a 3.5mm headphone jack or not.Beats has been collaborating with Apple to decide how to design the best wireless earphones and if that works out, it could lead to another level up for Apple with the inclusion of this feature being added.They keep us guessing and we wait in anticipation for ... Read More
DoublePredicate is a built-in functional interface defined in java.util.function package. This interface can accept one double-valued parameter as input and produces a boolean value as output. DoublePredicate interface can be used as an assignment target for a lambda expression or method reference. This interface contains one abstract method: test() and three default methods: and(), or() and negate().Syntax@FunctionalInterface public interface DoublePredicate { boolean test(double value) }Example of lambda expressionimport java.util.function.DoublePredicate; public class DoublePredicateLambdaTest { public static void main(String args[]) { DoublePredicate doublePredicate = (double input) -> { // lambda expression if(input == 2.0) { ... Read More
Plants are important to make a sense of balance between nature and in people’s lives. Being living organisms, they have a place in the vegetable kingdom that can live on land or in water. Plants and humans are mutually dependent for life and sustainability but are unable to share emotional bonds of each other.However, can you imagine that plants can even speak and feel the emotions of a human being? Yes, it is not just the imagination now. It can be possible. The gardeners can understand the thought of plants and can talk to them scientifically through a great research, ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP