Skip to content

Instantly share code, notes, and snippets.

View kunalvarma05's full-sized avatar
🎧

Kunal Varma kunalvarma05

🎧
View GitHub Profile
@kunalvarma05
kunalvarma05 / index.html
Created March 8, 2017 06:13
(GDG DAIICT) Getting started with Vue.js - created on 7th March, 2017 at DAIICT.
<!DOCTYPE HTML>
<html>
<head>
<title>Vue JS</title>
<script src="https://unpkg.com/[email protected]"></script>
</head>
<body>
<div id="app">
@kunalvarma05
kunalvarma05 / function_invocation.js
Created April 5, 2017 16:45 — forked from myshov/function_invocation.js
11 Ways to Invoke a Function
console.log(1);
(_ => console.log(2))();
eval('console.log(3);');
console.log.call(null, 4);
console.log.apply(null, [5]);
new Function('console.log(6)')();
Reflect.apply(console.log, null, [7])
Reflect.construct(function(){console.log(8)}, []);
Function.prototype.apply.call(console.log, null, [9]);
Function.prototype.call.call(console.log, null, 10);
@kunalvarma05
kunalvarma05 / App.java
Created July 5, 2018 12:30
Functional List demo
package com.foo.bar;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Function;
public class App
{
public static void main(String[] args)
{