This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2019-10-14T20:40:42.002Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Originally from | |
// https://github.com/eyaleizenberg/react-native-floating-label-text-input/blob/master/index.js | |
// It has been copied and modified because at the time of writing it would not work with React 15 | |
// Also, as such, there are some problems with integrating it, requiring changes in the code. | |
'use strict'; | |
import React from 'react' | |
import { StyleSheet, Text, View, TextInput, Animated } from 'react-native' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Originally from | |
// https://github.com/eyaleizenberg/react-native-floating-label-text-input/blob/master/index.js | |
// It has been copied and modified because at the time of writing it would not work with React 15 | |
// Also, as such, there are some problems with integrating it, requiring changes in the code. | |
'use strict'; | |
import React from 'react' | |
import { StyleSheet, Text, View, TextInput, Animated } from 'react-native' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*1. самый дешевый телефон с самой большой памятью и черного цвета*/ | |
/*2. чем отличается розовый айфон о | |
*/ | |
var phones = [ | |
{model:'iPhone', | |
price: 5500, | |
color: 'black', | |
memory: '8GB'}, | |
{model:'iPhone', | |
price: 6500, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var numbers =[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; | |
var filtered = numbers.filter(function (number) { | |
/*even number*/ | |
return number % 2 === 0; | |
}) | |
console.log(filtered); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pets= ['cat', 'dog', 'rat']; | |
for (var i = 0; i < 3; i++ ){ | |
pets[i] = pets[i] + 's'; | |
// log the numbers 0 through 9 | |
} | |
console.log(pets); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pizzaToppings = ["tomato sauce", "cheese", "pepperoni"]; | |
console.log(pizzaToppings); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var total =0; | |
var limit = 10; | |
for (var i = 0; i < 10; i++ ){ | |
total += i; | |
// log the numbers 0 through 9 | |
} | |
console.log(total); |